import { Flex } from 'antd5';
import UserSuperiorName from './name';
import UserSuperiorTime from './time';

export interface UserSuperiorProps {
  wrap?: boolean;
}

const UserSuperior = (props: UserSuperiorProps) => {
  const { wrap = true } = props;

  return (
    <Flex wrap={wrap} gap={12} align={'center'}>
      <UserSuperiorName>
        <UserSuperiorTime />
      </UserSuperiorName>
    </Flex>
  );
};

export default UserSuperior;
