mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
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:
parent
443f957027
commit
a2287658dd
5 changed files with 6 additions and 6 deletions
2
types/TextInput/PasswordInput.d.ts
vendored
2
types/TextInput/PasswordInput.d.ts
vendored
|
@ -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
|
||||
*/
|
||||
|
|
2
types/TextInput/TextInput.d.ts
vendored
2
types/TextInput/TextInput.d.ts
vendored
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue