move restProps to input for TextInput and PasswordInput

This commit is contained in:
miedzikd 2021-01-08 10:12:34 +01:00
commit 433b73b9c4
5 changed files with 6 additions and 6 deletions

View file

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

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
*/