UNPKG

427 BTypeScriptView Raw
1import * as React from 'react';
2import { ReactNode } from 'react';
3export interface Props extends React.HTMLProps<HTMLButtonElement> {
4 label?: string;
5 icon?: ReactNode;
6 busy?: boolean;
7 spinner?: ReactNode;
8 children?: ReactNode;
9}
10declare function Button({ className, disabled, label, icon, busy, children, spinner, ...props }: Props): JSX.Element;
11export default Button;
12//# sourceMappingURL=Button.d.ts.map
\No newline at end of file