Function
FieldLabel
({
children,
htmlFor,
className,
}: {
children: React.ReactNode
htmlFor?: string
className?: string
})
Source from the content-addressed store, hash-verified
| 13 | } |
| 14 | |
| 15 | function FieldLabel({ |
| 16 | children, |
| 17 | htmlFor, |
| 18 | className, |
| 19 | }: { |
| 20 | children: React.ReactNode |
| 21 | htmlFor?: string |
| 22 | className?: string |
| 23 | }) { |
| 24 | return ( |
| 25 | <label |
| 26 | htmlFor={htmlFor} |
| 27 | className={cn( |
| 28 | 'font-mono uppercase text-[0.82rem] tracking-[0.12em] text-ink-mute', |
| 29 | className, |
| 30 | )} |
| 31 | > |
| 32 | {children} |
| 33 | </label> |
| 34 | ) |
| 35 | } |
| 36 | |
| 37 | function FieldControl({ |
| 38 | children, |
Callers
nothing calls this directly
Tested by
no test coverage detected