mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
chore: complete first pass of apply jsdoc annotations to component props
This commit is contained in:
parent
566a281d81
commit
f30755b237
97 changed files with 2327 additions and 259 deletions
|
@ -4,6 +4,11 @@
|
|||
* @type {"sm" | "xl"} [size]
|
||||
*/
|
||||
export let size = undefined;
|
||||
|
||||
/**
|
||||
* Specify the input type
|
||||
* @type {string} [type="text"]
|
||||
*/
|
||||
export let type = "text";
|
||||
|
||||
/**
|
||||
|
@ -15,7 +20,7 @@
|
|||
export let disabled = false;
|
||||
|
||||
/**
|
||||
* Define the ARIA label for the calendar icon
|
||||
* Specify the ARIA label for the calendar icon
|
||||
* @type {string} [iconDescription=""]
|
||||
*/
|
||||
export let iconDescription = "";
|
||||
|
@ -44,7 +49,7 @@
|
|||
|
||||
/**
|
||||
* Obtain a reference to the input HTML element
|
||||
* @type {null | HTMLElement} [ref=null]
|
||||
* @type {null | HTMLInputElement} [ref=null]
|
||||
*/
|
||||
export let ref = null;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue