Files
TestMesa/backend/frontend/node_modules/react-bootstrap/cjs/FormLabel.d.ts
2024-12-17 13:23:11 -08:00

17 lines
661 B
TypeScript

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 type FormLabelProps = FormLabelWithColProps | FormLabelOwnProps;
declare const FormLabel: BsPrefixRefForwardingComponent<'label', FormLabelProps>;
export default FormLabel;