UNPKG

react-bootstrap-v5

Version:

Bootstrap 4 components built with React

24 lines (23 loc) 912 B
/// <reference types="react" /> import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers'; declare const InputGroupText: BsPrefixRefForwardingComponent<"span", unknown>; declare const InputGroupCheckbox: (props: any) => JSX.Element; declare const InputGroupRadio: (props: any) => JSX.Element; export interface InputGroupProps extends BsPrefixPropsWithChildren { size?: 'sm' | 'lg'; } declare type InputGroupExtras = { Text: typeof InputGroupText; Checkbox: typeof InputGroupCheckbox; Radio: typeof InputGroupRadio; }; declare type InputGroup = BsPrefixRefForwardingComponent<'div', InputGroupProps>; /** * * @property {InputGroupText} Text * @property {InputGroupRadio} Radio * @property {InputGroupCheckbox} Checkbox */ declare const InputGroup: InputGroup; declare const InputGroupWithExtras: InputGroup & InputGroupExtras; export default InputGroupWithExtras;