UNPKG

860 BTypeScriptView Raw
1import * as React from 'react';
2export interface OverflowMenuProps extends React.HTMLProps<HTMLDivElement> {
3 /** Any elements that can be rendered in the menu */
4 children?: any;
5 /** Additional classes added to the OverflowMenu. */
6 className?: string;
7 /** Indicates breakpoint at which to switch between horizontal menu and vertical dropdown */
8 breakpoint: 'md' | 'lg' | 'xl' | '2xl';
9}
10export interface OverflowMenuState extends React.HTMLProps<HTMLDivElement> {
11 isBelowBreakpoint: boolean;
12}
13export declare class OverflowMenu extends React.Component<OverflowMenuProps, OverflowMenuState> {
14 static displayName: string;
15 constructor(props: OverflowMenuProps);
16 componentDidMount(): void;
17 componentWillUnmount(): void;
18 handleResize: () => void;
19 render(): JSX.Element;
20}
21//# sourceMappingURL=OverflowMenu.d.ts.map
\No newline at end of file