Repository URL to install this package:
|
Version:
0.0.15 ▾
|
import * as React from 'react';
import { MenuItemProvideProps } from './typings';
/**
* @todo typings
*/
declare const MenuItemContext: React.Context<{
title: string;
className: string;
renderIcon(DEFAULT: string): "";
onClick(DEFAULT: string): void;
}>;
declare const Provider: React.ProviderExoticComponent<React.ProviderProps<{
title: string;
className: string;
renderIcon(DEFAULT: string): "";
onClick(DEFAULT: string): void;
}>>, Consumer: React.ExoticComponent<React.ConsumerProps<{
title: string;
className: string;
renderIcon(DEFAULT: string): "";
onClick(DEFAULT: string): void;
}>>;
/**
* @todo probably would make more sense for this to be for the whole sidebar...
*/
declare class MenuItemProvider extends React.Component<MenuItemProvideProps> {
render(): JSX.Element;
}
export { Consumer, Provider, MenuItemProvider, MenuItemContext };