UNPKG

@payfit/unity-components

Version:

11 lines (10 loc) 605 B
import { LabelProps } from '../../label/Label.js'; export type FormLabelProps = Omit<LabelProps, 'isRequired'>; /** * FormLabel is a component that displays a label for a form field. * It is used to provide context for the form field. * @deprecated React Hook Form components are deprecated. Use the TanStack Form version instead. * @see Storybook docs: https://unity-components.payfit.io/?path=/docs/forms-introduction-to-unity-forms--docs */ declare const FormLabel: import('react').ForwardRefExoticComponent<FormLabelProps & import('react').RefAttributes<HTMLLabelElement>>; export { FormLabel };