UNPKG

@doreamonjs/gate

Version:
25 lines (24 loc) 555 B
import { FC } from 'react'; import './index.less'; export interface IApp { name: string; logo: string; homepage: string; active?: boolean; hidden?: boolean; } export interface IApps { visible?: boolean; placement?: string; title?: string; data?: IApp[]; onSelect?(app: IApp): void; onClose?(): void; } export interface IAppProps extends IApp { onSelect?(app: IApp): void; } export declare const App: FC<IAppProps>; export declare const Apps: FC<IApps>; declare const _default: any; export default _default;