mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
feat: forward restProps to input element
This commit is contained in:
parent
6a609240cd
commit
576dedb9c3
14 changed files with 42 additions and 37 deletions
2
types/NumberInput/NumberInput.d.ts
vendored
2
types/NumberInput/NumberInput.d.ts
vendored
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue