1 | import * as React from 'react';
|
2 |
|
3 | import { BsPrefixComponent } from './helpers';
|
4 |
|
5 | export interface ButtonProps {
|
6 | active?: boolean;
|
7 | block?: boolean;
|
8 | variant?:
|
9 | | 'primary'
|
10 | | 'secondary'
|
11 | | 'success'
|
12 | | 'danger'
|
13 | | 'warning'
|
14 | | 'info'
|
15 | | 'dark'
|
16 | | 'light'
|
17 | | 'link'
|
18 | | 'outline-primary'
|
19 | | 'outline-secondary'
|
20 | | 'outline-success'
|
21 | | 'outline-danger'
|
22 | | 'outline-warning'
|
23 | | 'outline-info'
|
24 | | 'outline-dark'
|
25 | | 'outline-light';
|
26 | size?: 'sm' | 'lg';
|
27 | type?: 'button' | 'reset' | 'submit';
|
28 | href?: string;
|
29 | disabled?: boolean;
|
30 | }
|
31 |
|
32 | declare class Button<
|
33 | As extends React.ElementType = 'button'
|
34 | > extends BsPrefixComponent<As, ButtonProps> {}
|
35 |
|
36 | export default Button;
|