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.js

16 lines
350 B

import { Box, Icon } from '@rocket.chat/fuselage';
import React from 'react';
const CardIcon = ({ 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;