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/Card/CardIcon.tsx

16 lines
380 B

import { Box, Icon } from '@rocket.chat/fuselage';
import React, { FC } from 'react';
const CardIcon: FC<{ name: string }> = ({ name, children, ...props }) => (
<Box
minWidth='x16'
display='inline-flex'
flexDirection='row'
alignItems='flex-end'
justifyContent='center'
>
{children || <Icon size='x16' name={name} {...props} />}
</Box>
);
export default CardIcon;