1 | import * as React from 'react';
|
2 |
|
3 | import { BsPrefixComponent } from './helpers';
|
4 |
|
5 | declare class InputGroupAppend<
|
6 | As extends React.ElementType = 'div'
|
7 | > extends BsPrefixComponent<As> {}
|
8 |
|
9 | declare class InputGroupPrepend<
|
10 | As extends React.ElementType = 'div'
|
11 | > extends BsPrefixComponent<As> {}
|
12 |
|
13 | declare class InputGroupText<
|
14 | As extends React.ElementType = 'span'
|
15 | > extends BsPrefixComponent<As> {}
|
16 |
|
17 | declare class InputGroupCheckbox extends BsPrefixComponent<'input'> {}
|
18 | declare class InputGroupRadio extends BsPrefixComponent<'input'> {}
|
19 |
|
20 | export interface InputGroupProps {
|
21 | size?: 'sm' | 'lg';
|
22 | }
|
23 |
|
24 | declare class InputGroup<
|
25 | As extends React.ElementType = 'div'
|
26 | > extends BsPrefixComponent<As, InputGroupProps> {
|
27 | static Append: typeof InputGroupAppend;
|
28 | static Prepend: typeof InputGroupPrepend;
|
29 | static Text: typeof InputGroupText;
|
30 | static Checkbox: typeof InputGroupCheckbox;
|
31 | static Radio: typeof InputGroupRadio;
|
32 | }
|
33 |
|
34 | export default InputGroup;
|