MCPcopy Create free account
hub / github.com/untitleduico/react / LabelProps

Interface LabelProps

components/base/input/label.tsx:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import { cx } from "@/utils/cx";
9
10interface LabelProps extends AriaLabelProps {
11 children: ReactNode;
12 isInvalid?: boolean;
13 isRequired?: boolean;
14 tooltip?: string;
15 tooltipDescription?: string;
16 ref?: Ref<HTMLLabelElement>;
17}
18
19export const Label = ({ isInvalid, isRequired, tooltip, tooltipDescription, className, ...props }: LabelProps) => {
20 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected