@blocklet/ui-react
Version:
Some useful front-end web components that can be used in Blocklets.
19 lines (18 loc) • 883 B
TypeScript
import { BoxProps } from '@mui/material';
export default function UserCenter({ children, notLoginContent, currentTab, contentProps, disableAutoRedirect, hideFooter, headerProps, footerProps, userDid, stickySidebar, embed, onlyProfile, // 只显示 profile 页面,用于 ArcSphere 只需要显示 Profile 的内容
onDestroySelf, }: {
readonly children: any;
readonly notLoginContent?: any;
readonly currentTab: string;
readonly contentProps?: BoxProps;
readonly disableAutoRedirect?: boolean;
readonly autoPopupSetting?: boolean;
readonly hideFooter?: boolean;
readonly headerProps?: any;
readonly footerProps?: any;
readonly userDid?: string;
readonly stickySidebar?: boolean;
readonly embed?: boolean;
readonly onlyProfile?: boolean;
readonly onDestroySelf?: () => void;
}): import("react/jsx-runtime").JSX.Element | null;