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/settings/ResetSettingButton.tsx

13 lines
541 B

import type { Button } from '@rocket.chat/fuselage';
import { IconButton } from '@rocket.chat/fuselage';
import { useTranslation } from '@rocket.chat/ui-contexts';
import type { ComponentProps, ReactElement } from 'react';
import React from 'react';
function ResetSettingButton(props: ComponentProps<typeof Button>): ReactElement {
const t = useTranslation();
return <IconButton icon='undo' type='button' aria-label={t('Reset')} danger small title={t('Reset')} style={{ padding: 0 }} {...props} />;
}
export default ResetSettingButton;