mostly finished rewrite

This commit is contained in:
Violet
2024-12-18 12:31:06 -07:00
parent bab7a0ca27
commit d28c65e66b
2906 changed files with 227775 additions and 105 deletions
+16
View File
@@ -0,0 +1,16 @@
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;