You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
669 B
17 lines
669 B
import * as React from 'react';
|
|
import { ColProps } from './Col';
|
|
import { BsPrefixProps, BsPrefixRefForwardingComponent } from './helpers';
|
|
interface FormLabelBaseProps extends BsPrefixProps, React.HTMLAttributes<HTMLElement> {
|
|
htmlFor?: string;
|
|
visuallyHidden?: boolean;
|
|
}
|
|
export interface FormLabelOwnProps extends FormLabelBaseProps {
|
|
column?: false;
|
|
}
|
|
export interface FormLabelWithColProps extends FormLabelBaseProps, ColProps {
|
|
column: true | 'sm' | 'lg';
|
|
}
|
|
export declare type FormLabelProps = FormLabelWithColProps | FormLabelOwnProps;
|
|
declare const FormLabel: BsPrefixRefForwardingComponent<'label', FormLabelProps>;
|
|
export default FormLabel;
|