refactor(search): use native binding for value prop (#1173)

* refactor(search): use native binding for value prop

* feat(search): type the value prop as any
This commit is contained in:
metonym 2022-03-13 19:02:46 -07:00 committed by GitHub
commit ba0abe8e34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 47 deletions

View file

@ -9115,6 +9115,17 @@
"moduleName": "Search",
"filePath": "src/Search/Search.svelte",
"props": [
{
"name": "value",
"kind": "let",
"description": "Specify the value of the search input",
"type": "any",
"value": "\"\"",
"isFunction": false,
"isFunctionDeclaration": false,
"constant": false,
"reactive": true
},
{
"name": "small",
"kind": "let",
@ -9202,28 +9213,6 @@
"constant": false,
"reactive": true
},
{
"name": "value",
"kind": "let",
"description": "Specify the value of the search input",
"type": "string",
"value": "\"\"",
"isFunction": false,
"isFunctionDeclaration": false,
"constant": false,
"reactive": true
},
{
"name": "type",
"kind": "let",
"description": "Specify the `type` attribute of the search input",
"type": "string",
"value": "\"text\"",
"isFunction": false,
"isFunctionDeclaration": false,
"constant": false,
"reactive": false
},
{
"name": "placeholder",
"kind": "let",