({ label, hint, children }: FieldProps)
| 49 | } |
| 50 | |
| 51 | function Field({ label, hint, children }: FieldProps) { |
| 52 | return ( |
| 53 | <div className="space-y-2"> |
| 54 | <div className="space-y-0.5"> |
| 55 | <Label className="text-xs text-cyber-text-secondary font-mono"> |
| 56 | {label} |
| 57 | </Label> |
| 58 | {hint ? ( |
| 59 | <p className="text-[10px] text-cyber-text-muted leading-snug"> |
| 60 | {hint} |
| 61 | </p> |
| 62 | ) : null} |
| 63 | </div> |
| 64 | {children} |
| 65 | </div> |
| 66 | ) |
| 67 | } |
| 68 | |
| 69 | type KeywordInputProps = { |
| 70 | value: string |
no outgoing calls
no test coverage detected