mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
feat(search): type the value prop as any
This commit is contained in:
parent
574e3d64ee
commit
f853876128
1 changed files with 6 additions and 3 deletions
|
@ -4,6 +4,12 @@
|
|||
* @event {null} collapse
|
||||
*/
|
||||
|
||||
/**
|
||||
* Specify the value of the search input
|
||||
* @type {any}
|
||||
*/
|
||||
export let value = "";
|
||||
|
||||
/**
|
||||
* @deprecated this prop will be removed in the next major release
|
||||
* Use size="sm" instead
|
||||
|
@ -34,9 +40,6 @@
|
|||
/** Set to `true to expand the search input */
|
||||
export let expanded = false;
|
||||
|
||||
/** Specify the value of the search input */
|
||||
export let value = "";
|
||||
|
||||
/** Specify the `placeholder` attribute of the search input */
|
||||
export let placeholder = "Search...";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue