1 | import { ColProps } from './Col';
|
2 | import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
|
3 | interface FormLabelBaseProps extends BsPrefixPropsWithChildren {
|
4 | htmlFor?: string;
|
5 | srOnly?: boolean;
|
6 | }
|
7 | export interface FormLabelOwnProps extends FormLabelBaseProps {
|
8 | column?: false;
|
9 | }
|
10 | export interface FormLabelWithColProps extends FormLabelBaseProps, ColProps {
|
11 | column: true | 'sm' | 'lg';
|
12 | }
|
13 | export declare type FormLabelProps = FormLabelWithColProps | FormLabelOwnProps;
|
14 | declare type FormLabel = BsPrefixRefForwardingComponent<'label', FormLabelProps>;
|
15 | declare const FormLabel: FormLabel;
|
16 | export default FormLabel;
|