Component docs
Loading
"use client";
import { CopyField } from "@pixxl-tools/components";| Prop | Type | Default | Description |
|---|---|---|---|
value (required) | string | — | Current value (controlled); null where it means "nothing selected". |
label | string | — | Visible label (also the accessible name). |
valuerequiredstring
Current value (controlled); null where it means "nothing selected".
labelstring
Visible label (also the accessible name).
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<CopyField value="project-1280" />