CopyTextButton()
Home > @backstage/core-components
> CopyTextButton
Copy text button with visual feedback
Signature:
function CopyTextButton(props: CopyTextButtonProps): React.JSX.Element;
Parameters
Parameter |
Type |
Description |
---|---|---|
props |
React.JSX.Element
Remarks
Visual feedback takes form of: - a hover color - click ripple - Tooltip shown when user has clicked
Example
<CopyTextButton
text="My text that I want to be copied to the clipboard"
arial-label="Accessible label for this button" />