MCPcopy Create free account
hub / github.com/arctic-cli/interface / Label

Function Label

packages/web/components/ui/label.tsx:6–24  ·  view source on GitHub ↗
({
  className,
  render,
  ...props
}: useRender.ComponentProps<"label">)

Source from the content-addressed store, hash-verified

4import { cn } from "@/lib/utils";
5
6function Label({
7 className,
8 render,
9 ...props
10}: useRender.ComponentProps<"label">) {
11 const defaultProps = {
12 className: cn(
13 "inline-flex items-center gap-2 text-base/4.5 sm:text-sm/4 font-medium",
14 className,
15 ),
16 "data-slot": "label",
17 };
18
19 return useRender({
20 defaultTagName: "label",
21 props: mergeProps<"label">(defaultProps, props),
22 render,
23 });
24}
25
26export { Label };

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected