@blocklet/ui-react
Version:
Some useful front-end web components that can be used in Blocklets.
15 lines (14 loc) • 578 B
TypeScript
import { BoxProps } from '@mui/material';
import { User } from '../../../@types';
export default function UserBasicInfo({ user, isMyself, showFullDid, switchPassport, switchProfile, isMobile, onlyProfile, refreshProfile, isShowSocialActions, ...rest }: {
user: User;
isMyself?: boolean;
showFullDid?: boolean;
switchPassport: () => void;
switchProfile: () => void;
size?: number;
isMobile?: boolean;
onlyProfile?: boolean;
refreshProfile: () => void;
isShowSocialActions?: boolean;
} & BoxProps): import("react/jsx-runtime").JSX.Element;