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/apps/meteor/client/components/UserCard/UserCardAction.tsx

10 lines
360 B

import { IconButton } from '@rocket.chat/fuselage';
import type { ReactElement, ComponentProps } from 'react';
type UserCardActionProps = ComponentProps<typeof IconButton>;
const UserCardAction = ({ label, icon, ...props }: UserCardActionProps): ReactElement => (
<IconButton icon={icon} small title={label} {...props} />
);
export default UserCardAction;