MCPcopy
hub / github.com/untitleduico/react / Description

Function Description

components/base/input/pin-input.tsx:134–138  ·  view source on GitHub ↗
(props: ComponentPropsWithRef<typeof HintText>)

Source from the content-addressed store, hash-verified

132Label.displayName = "Label";
133
134const Description = (props: ComponentPropsWithRef<typeof HintText>) => {
135 const { id, size } = usePinInputContext();
136
137 return <HintText {...props} id={"pin-input-description-" + id} role="description" className={cx(size === "xxxs" && "text-xs")} />;
138};
139Description.displayName = "Description";
140
141const PinInput = Root as typeof Root & {

Callers

nothing calls this directly

Calls 1

usePinInputContextFunction · 0.85

Tested by

no test coverage detected