Files
Speedtest-Tracker/conf/site/node_modules/react-bootstrap/esm/FormLabel.d.ts
Henry Whitaker 3a99dc5495 Updated to v1.3.3
2020-05-05 09:34:02 +01:00

28 lines
633 B
TypeScript

import * as React from 'react';
import { ColProps } from './Col';
import { BsPrefixRefForwardingComponent } from './helpers';
interface FormLabelBaseProps {
htmlFor?: string;
srOnly?: boolean;
}
export interface FormLabelOwnProps extends FormLabelBaseProps {
column?: false;
}
export interface FormLabelWithColProps extends FormLabelBaseProps, ColProps {
column: true | 'sm' | 'lg';
}
export type FormLabelProps = FormLabelWithColProps | FormLabelOwnProps;
declare interface FormLabel
extends BsPrefixRefForwardingComponent<'label', FormLabelProps> {}
declare const FormLabel: FormLabel;
export default FormLabel;