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