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

18 lines
403 B

import { Text } from '@rocket.chat/fuselage';
import React from 'react';
import { Icon } from '../../basic/Icon';
import { useTranslation } from '../../providers/TranslationProvider';
export function ResetSettingButton({ onClick }) {
const t = useTranslation();
return <Text
aria-label={t('Reset')}
dangerColor
title={t('Reset')}
onClick={onClick}
>
<Icon icon='icon-ccw' />
</Text>;
}