feat: forward restProps to input element

This commit is contained in:
Eric Y Liu 2021-03-13 06:06:31 -08:00
commit 576dedb9c3
14 changed files with 42 additions and 37 deletions

View file

@ -4,7 +4,7 @@ import { SvelteComponentTyped } from "svelte";
export type NumberInputTranslationId = "increment" | "decrement";
export interface NumberInputProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["input"]> {
/**
* Set the size of the input
*/