UNPKG

518 BTypeScriptView Raw
1import { ButtonProps as BaseButtonProps } from '@restart/ui/Button';
2import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
3import { ButtonVariant } from './types';
4export interface ButtonProps extends BaseButtonProps, Omit<BsPrefixProps, 'as'> {
5 active?: boolean;
6 variant?: ButtonVariant;
7 size?: 'sm' | 'lg';
8}
9export type CommonButtonProps = 'href' | 'size' | 'variant' | 'disabled';
10declare const Button: BsPrefixRefForwardingComponent<'button', ButtonProps>;
11export default Button;