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/VerticalBar/VerticalBarClose.tsx

13 lines
492 B

import React, { memo, ComponentProps, ReactElement } from 'react';
import { useTranslation } from '../../contexts/TranslationContext';
import VerticalBarAction from './VerticalBarAction';
type VerticalBarCloseProps = Partial<ComponentProps<typeof VerticalBarAction>>;
const VerticalBarClose = (props: VerticalBarCloseProps): ReactElement => {
const t = useTranslation();
return <VerticalBarAction {...props} title={t('Close')} name='cross' />;
};
export default memo(VerticalBarClose);