mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
chore(TextInput): add html type example to
This commit is contained in:
parent
e75508014c
commit
5ccae71b72
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
<script>
|
<script lang="ts">
|
||||||
|
import type { HTMLLabelAttributes } from "svelte/elements";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @event {null | number | string} change
|
* @event {null | number | string} change
|
||||||
* @event {null | number | string} input
|
* @event {null | number | string} input
|
||||||
|
@ -10,6 +12,9 @@
|
||||||
*/
|
*/
|
||||||
export let size = undefined;
|
export let size = undefined;
|
||||||
|
|
||||||
|
// TODO: complete implementation
|
||||||
|
export let labelAttributes: HTMLLabelAttributes = {};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specify the input value.
|
* Specify the input value.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue