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/Header/ToolBoxActionBadge.tsx

18 lines
408 B

import { css } from '@rocket.chat/css-in-js';
import { Box, Badge } from '@rocket.chat/fuselage';
import React, { ComponentProps, FC } from 'react';
const ToolBoxActionBadge: FC<ComponentProps<typeof Badge>> = (props) => (
<Box
position='absolute'
className={css`
top: 0;
right: 0;
transform: translate(30%, -30%);
`}
>
<Badge {...props} />
</Box>
);
export default ToolBoxActionBadge;