UNPKG

react-bootstrap

Version:

Bootstrap 5 components built with React

12 lines (11 loc) 518 B
import { ButtonProps as BaseButtonProps } from '@restart/ui/Button'; import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers'; import { ButtonVariant } from './types'; export interface ButtonProps extends BaseButtonProps, Omit<BsPrefixProps, 'as'> { active?: boolean; variant?: ButtonVariant; size?: 'sm' | 'lg'; } export type CommonButtonProps = 'href' | 'size' | 'variant' | 'disabled'; declare const Button: BsPrefixRefForwardingComponent<'button', ButtonProps>; export default Button;