CopyCommand
View as Markdownfunction 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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
__namedParameters |
{ command: string; } |
__namedParameters.command |
string |
Returns
Section titled “Returns”Element