Icon button that copies content to the clipboard on click.
Shows a success color on the icon after copying. Pass getCopyContent to provide the value to copy.
getCopyContent
<CopyIconButton getCopyContent={() => "text to copy"} trackingData={{ event: "Copy" }}/> Copy
<CopyIconButton getCopyContent={() => "text to copy"} trackingData={{ event: "Copy" }}/>
Icon button that copies content to the clipboard on click.
Shows a success color on the icon after copying. Pass
getCopyContentto provide the value to copy.