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/UserInfo/UserInfoUsername.tsx

16 lines
534 B

import type { IUser } from '@rocket.chat/core-typings';
import type { Box } from '@rocket.chat/fuselage';
import type { ReactElement, ComponentProps } from 'react';
import { UserCardUsername } from '../UserCard';
type UserInfoUsernameProps = {
username: IUser['username'];
status: ReactElement;
} & ComponentProps<typeof Box>;
const UserInfoUsername = ({ username, status, ...props }: UserInfoUsernameProps): ReactElement => (
<UserCardUsername name={username} status={status} {...props} />
);
export default UserInfoUsername;