mirror of
https://github.com/SomboChea/ui
synced 2024-06-28 22:15:32 +07:00
23 lines
376 B
JavaScript
23 lines
376 B
JavaScript
/**
|
|
* @prettier
|
|
* @flow
|
|
*/
|
|
|
|
export interface IProps {
|
|
logo: string;
|
|
username?: string;
|
|
onLogout?: Function;
|
|
onToggleLoginModal: Function;
|
|
scope: string;
|
|
withoutSearch?: boolean;
|
|
}
|
|
|
|
export interface IState {
|
|
anchorEl?: any;
|
|
openInfoDialog: boolean;
|
|
registryUrl: string;
|
|
showMobileNavBar: boolean;
|
|
}
|
|
|
|
export type ToolTipType = 'search' | 'help' | 'info';
|