Selkies
Developer ReferenceDashboard (Wish)ComponentsDashboard

components/dashboard/clipboard

Functions

Clipboard()

function Clipboard(): Element;

Defined in: components/dashboard/clipboard.tsx:37

Renders the clipboard text area, the binary-clipboard switch and the image upload controls.

State is seeded from the cached clipboardContentUpdate: the panel mounts when its submenu opens, usually long after the core last reported the clipboard. Large server clipboards arrive as a bounded, truncated preview; editing it would echo the cut-down text back over the real server clipboard on blur, so truncated content renders read-only.

Returns

Element

On this page

Edit on GitHub