MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / Field

Function Field

ui/src/components/form.tsx:79–89  ·  view source on GitHub ↗
({ label, description, children }: FieldProps)

Source from the content-addressed store, hash-verified

77}
78
79export function Field({ label, description, children }: FieldProps) {
80 return (
81 <div className="mb-3.5 last:mb-0">
82 <label className="block text-[13px] text-text mb-1.5 font-medium">{label}</label>
83 {children}
84 {description && (
85 <p className="text-[12px] text-text-muted/60 mt-1">{description}</p>
86 )}
87 </div>
88 )
89}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected