UNPKG

@arche-mc2/arche-controls

Version:

We know that there are a ton of react UI library projects to choose from. Our hope with this one is to provide the next generation of react components that you can use to bootstrap your next project, or as a reference for building a UIKit. Read on to get

26 lines (25 loc) 740 B
import * as React from 'react'; export interface TopMenuProps { onDeconnexionClick: () => void; onReglagesClick: () => void; onUpClick: () => void; onHomeClick: () => void; childMenuItems: TopMenuItemProps[]; } export interface TopMenuState { } export declare class TopMenu extends React.Component<TopMenuProps, TopMenuState> { constructor(p: any, c: any); render(): JSX.Element; } export interface TopMenuItemProps { title: string; action: string | (() => void); icon: string; } export interface TopMenuItemState { } export declare class TopMenuItem extends React.Component<TopMenuItemProps, TopMenuItemState> { constructor(p: any, c: any); render(): JSX.Element; }