UNPKG

@doreamonjs/gate

Version:
27 lines (26 loc) 524 B
import './index.less'; declare type IUser = any; declare type IScreen = any; declare type ISite = any; export interface Props { site?: ISite; user?: IUser; screens?: IScreen; onUnlock?(passowrd: string): void; onRaiseErrorEnd?(): void; } export interface State { shaking: boolean; password: string; now: Date; } export declare type States = { user: { values: IUser; }; screen: { raiseError: boolean; }; }; declare const _default: any; export default _default;