Gazebo_simulation-Frontend/node_modules/react-bootstrap/FormLabel.d.ts

26 lines
586 B
TypeScript
Raw Normal View History

2020-12-21 11:29:31 -04:00
import * as React from 'react';
import { ColProps } from './Col';
import { BsPrefixComponent } from './helpers';
interface FormLabelBaseProps {
htmlFor?: string;
innerRef?: React.LegacyRef<this>;
srOnly?: boolean;
}
export interface FormLabelOwnProps extends FormLabelBaseProps {
column?: false;
}
export interface FormLabelWithColProps extends FormLabelBaseProps, ColProps {
column: true;
}
export type FormLabelProps = FormLabelWithColProps | FormLabelOwnProps;
declare class FormLabel extends BsPrefixComponent<'label', FormLabelProps> {}
export default FormLabel;