From f853876128b5b45c4afa210a37cef529f9532572 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sun, 13 Mar 2022 18:59:37 -0700 Subject: [PATCH] feat(search): type the value prop as any --- src/Search/Search.svelte | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Search/Search.svelte b/src/Search/Search.svelte index a0fb4629..b073377c 100644 --- a/src/Search/Search.svelte +++ b/src/Search/Search.svelte @@ -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...";