Label
type LabelProps = ComponentProps<typeof Label>;
Prop | Type | Default Value | Description |
---|---|---|---|
className | string | undefined | The CSS class name for styling the button. |
htmlFor | string | undefined | The ID of the input element this label is associated with. |
required | boolean | false | If true, the input element this label is associated with is required. |
children | ReactNode | undefined | The content to be displayed inside the label component. |