verdaccio-ui/src/webui/components/Header/types.js
2019-04-04 21:23:40 +02:00

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';