1 | import React from 'react';
|
2 | import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
|
3 | import { ButtonVariant } from './types';
|
4 | export declare type ButtonType = 'button' | 'reset' | 'submit' | string;
|
5 | export interface ButtonProps extends React.HTMLAttributes<HTMLElement>, BsPrefixPropsWithChildren {
|
6 | active?: boolean;
|
7 | block?: boolean;
|
8 | variant?: ButtonVariant;
|
9 | size?: 'sm' | 'lg';
|
10 | type?: ButtonType;
|
11 | href?: string;
|
12 | disabled?: boolean;
|
13 | target?: any;
|
14 | }
|
15 | declare type Button = BsPrefixRefForwardingComponent<'button', ButtonProps>;
|
16 | export declare type CommonButtonProps = 'href' | 'size' | 'variant' | 'disabled';
|
17 | declare const Button: Button;
|
18 | export default Button;
|