UNPKG

450 BTypeScriptView Raw
1import React from 'react';
2declare type ToolbarButtonProps = {
3 onClick: () => void;
4 title: string;
5 label: string;
6};
7declare type ToolbarButtonState = {
8 error: Error | null;
9};
10export declare class ToolbarButton extends React.Component<ToolbarButtonProps, ToolbarButtonState> {
11 constructor(props: ToolbarButtonProps);
12 render(): JSX.Element;
13 handleClick: () => void;
14}
15export {};
16//# sourceMappingURL=ToolbarButton.d.ts.map
\No newline at end of file