Files
Speedtest-Tracker/conf/site/node_modules/react-bootstrap/cjs/FormLabel.d.ts
2020-07-08 12:08:03 +01:00

17 lines
654 B
TypeScript

import { ColProps } from './Col';
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
interface FormLabelBaseProps extends BsPrefixPropsWithChildren {
htmlFor?: string;
srOnly?: 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 type FormLabel = BsPrefixRefForwardingComponent<'label', FormLabelProps>;
declare const FormLabel: FormLabel;
export default FormLabel;