feat(search): type the value prop as any

This commit is contained in:
Eric Liu 2022-03-13 18:59:37 -07:00
commit f853876128

View file

@ -4,6 +4,12 @@
* @event {null} collapse * @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 * @deprecated this prop will be removed in the next major release
* Use size="sm" instead * Use size="sm" instead
@ -34,9 +40,6 @@
/** Set to `true to expand the search input */ /** Set to `true to expand the search input */
export let expanded = false; export let expanded = false;
/** Specify the value of the search input */
export let value = "";
/** Specify the `placeholder` attribute of the search input */ /** Specify the `placeholder` attribute of the search input */
export let placeholder = "Search..."; export let placeholder = "Search...";