Skip to content

CopyCommand

View as Markdown
function CopyCommand(__namedParameters): Element;

Defined in: react-ui/src/components/CopyCommand.tsx:37

A one-line shell command in a mono block with a copy button: “Copied” for 2 s, or (no clipboard access) “Copy failed — select the text”; the command text selects with one click.

Parameter Type
__namedParameters { command: string; }
__namedParameters.command string

Element