import { Button, IconButton } from '@rocket.chat/fuselage'; import type { Keys as IconName } from '@rocket.chat/icons'; import type { ComponentProps } from 'react'; export type UserInfoActionProps = { icon: IconName; } & ComponentProps; const UserInfoAction = ({ icon, label, title, ...props }: UserInfoActionProps) => { if (!label && icon && title) { return ; } return ( ); }; export default UserInfoAction;