The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/client/views/admin/integrations/NewBot.tsx

23 lines
459 B

import { Box } from '@rocket.chat/fuselage';
import DOMPurify from 'dompurify';
import { useTranslation } from 'react-i18next';
const NewBot = () => {
const { t } = useTranslation();
return (
<Box
pb={20}
fontScale='h4'
key='bots'
dangerouslySetInnerHTML={{
__html: DOMPurify.sanitize(t('additional_integrations_Bots'), {
ALLOWED_TAGS: ['a'],
ALLOWED_ATTR: ['href', 'target'],
}),
}}
/>
);
};
export default NewBot;