export interface FormLabelProps { /** * The unique identifier for the input element that this label is associated with. * This ID should match the input element's `id` attribute to ensure accessibility. */ id: string; /** * The text content of the label that describes the input field. */ label: React.ReactNode; /** * Controls the visibility of the label. * Use `true` to hide the label visually while maintaining its space in the layout, * or use 'keep-space' to hide it without collapsing the space it occupies. */ hideLabel?: boolean | 'keep-space'; /** * Indicates whether the input field is required. * If set to `true`, the required indicator (if provided) will be displayed next to the label. */ required?: boolean; /** * Additional className. */ className?: string; /** * Renders the label as a `` instead of a `