UNPKG

@krowdy-ui/views

Version:

React components that implement Google's Material Design.

28 lines (24 loc) 509 B
interface IMenu { icon?: React.ReactNode target?: string title: string url?: string options?: Array<IMenu> expanded?: boolean disabled?: boolean onClick?: () => void } interface OptionBottom { icon?: React.ReactNode onClick?: () => void title: string } export type MainProps = { menus?: Array<IMenu> optionBottom?: OptionBottom isOpenDrawer?: boolean component?: React.ElementType shadow?: boolean }; declare const Main: React.ComponentType<MainProps>; export default Main;