Add input props to ToolbarSearch (#647)

This commit is contained in:
Gregor Wassmann 2021-06-16 00:13:34 +02:00 committed by GitHub
commit 630e19b57a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View file

@ -11016,7 +11016,7 @@
{ "type": "forwarded", "name": "blur", "element": "Search" }
],
"typedefs": [],
"rest_props": { "type": "InlineComponent", "name": "Search" }
"rest_props": { "type": "Element", "name": "input" }
},
{
"moduleName": "Tooltip",

View file

@ -1,4 +1,6 @@
<script>
/** @restProps {input} */
/**
* Specify the value of the search input
* @type {number | string}

View file

@ -1,7 +1,8 @@
/// <reference types="svelte" />
import { SvelteComponentTyped } from "svelte";
export interface ToolbarSearchProps {
export interface ToolbarSearchProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["input"]> {
/**
* Specify the value of the search input
* @default ""