mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
fix: CopyButton
text prop and Dropdown
selectedId prop should be required (#1311)
* chore(deps-dev): upgrade sveld to v0.17.0 * fix(copy-button): text prop is required * fix(dropdown): selectedId prop is required * Run "yarn build:docs" * docs: display "Required" tag for required props
This commit is contained in:
parent
e70f925902
commit
04d758f869
9 changed files with 2147 additions and 1215 deletions
|
@ -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
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
* Specify the selected item id
|
||||
* @type {DropdownItemId}
|
||||
*/
|
||||
export let selectedId = undefined;
|
||||
export let selectedId;
|
||||
|
||||
/**
|
||||
* Specify the type of dropdown
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue