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/client/admin/settings/ResetSettingButton.js

20 lines
391 B

import { Button, Icon } from '@rocket.chat/fuselage';
import React from 'react';
import { useTranslation } from '../../contexts/TranslationContext';
export function ResetSettingButton(props) {
const t = useTranslation();
return <Button
aria-label={t('Reset')}
danger
ghost
small
title={t('Reset')}
style={{ padding: 0 }}
{...props}
>
<Icon name='undo' />
</Button>;
}