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/components/Contextualbar/ContextualbarBack.tsx

13 lines
531 B

import { ContextualbarAction } from '@rocket.chat/fuselage';
import { useTranslation } from '@rocket.chat/ui-contexts';
import type { ReactElement, ComponentProps } from 'react';
import React, { memo } from 'react';
type ContextualbarBackProps = Partial<ComponentProps<typeof ContextualbarAction>>;
const ContextualbarBack = (props: ContextualbarBackProps): ReactElement => {
const t = useTranslation();
return <ContextualbarAction {...props} title={t('Back')} name='arrow-back' />;
};
export default memo(ContextualbarBack);