Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

28 righe
633 B

  1. import * as React from 'react';
  2. import { ColProps } from './Col';
  3. import { BsPrefixRefForwardingComponent } from './helpers';
  4. interface FormLabelBaseProps {
  5. htmlFor?: string;
  6. srOnly?: boolean;
  7. }
  8. export interface FormLabelOwnProps extends FormLabelBaseProps {
  9. column?: false;
  10. }
  11. export interface FormLabelWithColProps extends FormLabelBaseProps, ColProps {
  12. column: true | 'sm' | 'lg';
  13. }
  14. export type FormLabelProps = FormLabelWithColProps | FormLabelOwnProps;
  15. declare interface FormLabel
  16. extends BsPrefixRefForwardingComponent<'label', FormLabelProps> {}
  17. declare const FormLabel: FormLabel;
  18. export default FormLabel;