UNPKG

490 BTypeScriptView Raw
1import React from 'react';
2/**
3 * Button component property
4 */
5export interface IButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
6 /**
7 * Whether this button should use minimal styles.
8 */
9 minimal?: boolean;
10 /**
11 * Whether this button should use small styles.
12 */
13 small?: boolean;
14}
15/**
16 * Button component
17 *
18 * @param props Component properties
19 * @returns Component
20 */
21export declare function Button(props: IButtonProps): JSX.Element;