fix(search): prop types should extend input attributes (#1523)

Fixes #1520
This commit is contained in:
metonym 2022-10-13 22:04:32 -07:00 committed by GitHub
commit 1c4ee00142
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View file

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