copyButtonTooltipLabel(optional): the text that should be displayed on hover. Defaults to the value if not provided.copyButtonValue: the value that should be copied to the user’s clipboard after clicking the button
- Typescript SDK
- GraphQL
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Useful if you have any IDs or other details you want to copy for use in messages or outside of Plain.
copyButtonTooltipLabel (optional): the text that should be displayed on hover. Defaults to the value if not
provided.copyButtonValue: the value that should be copied to the user’s clipboard after clicking the buttonimport { uiComponent } from '@team-plain/typescript-sdk';
uiComponent.copyButton({
value: '2a8f2dae-3580-402b-aa0a-243efae55e39',
tooltip: 'Order ID',
});
{
"componentCopyButton": {
"copyButtonTooltipLabel": "Order ID",
"copyButtonValue": "2a8f2dae-3580-402b-aa0a-243efae55e39"
}
}
Was this page helpful?
