MCPcopy Create free account
hub / github.com/bytebase/dbhub / FieldLabel

Function FieldLabel

frontend/src/components/ui/field.tsx:17–28  ·  view source on GitHub ↗
({ className, ...props }: FieldPrimitive.Label.Props)

Source from the content-addressed store, hash-verified

15}
16
17function FieldLabel({ className, ...props }: FieldPrimitive.Label.Props) {
18 return (
19 <FieldPrimitive.Label
20 className={cn(
21 "inline-flex items-center gap-2 font-medium text-base/4.5 sm:text-sm/4",
22 className,
23 )}
24 data-slot="field-label"
25 {...props}
26 />
27 );
28}
29
30function FieldDescription({
31 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected