move restProps from wrapper to input for TextInput and PasswordInput (#481)

* move restProps to input for TextInput and PasswordInput

* move restProps one line above
This commit is contained in:
Daniel Miedzik 2021-01-08 23:51:10 +01:00 committed by GitHub
commit a2287658dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
/// <reference types="svelte" />
export interface TextInputProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
export interface TextInputProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["input"]> {
/**
* Set the size of the input
*/