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

24 lines
440 B

import { Button, Icon } from '@rocket.chat/fuselage';
import React from 'react';
import { useTranslation } from '../../../contexts/TranslationContext';
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>
);
}
export default ResetSettingButton;