fix(copy-button): text prop is required

This commit is contained in:
Eric Liu 2022-05-21 13:42:23 -07:00
commit 74ffcecc9d

View file

@ -12,7 +12,7 @@
* Specify the text to copy
* @type {string}
*/
export let text = undefined;
export let text;
/**
* Override the default copy behavior of using the navigator.clipboard.writeText API to copy text