mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
17 lines
654 B
TypeScript
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;
|