mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
fix(copy-button): text prop is required
This commit is contained in:
parent
2319c7c822
commit
74ffcecc9d
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
* Specify the text to copy
|
* Specify the text to copy
|
||||||
* @type {string}
|
* @type {string}
|
||||||
*/
|
*/
|
||||||
export let text = undefined;
|
export let text;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Override the default copy behavior of using the navigator.clipboard.writeText API to copy text
|
* Override the default copy behavior of using the navigator.clipboard.writeText API to copy text
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue