mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
refactor: update/fix JSDoc props
This commit is contained in:
parent
3c04f122b0
commit
d38e6d8be6
204 changed files with 992 additions and 2359 deletions
|
@ -1,26 +1,14 @@
|
|||
<script>
|
||||
/**
|
||||
* Set to `true` to indicate an invalid state
|
||||
* @type {boolean} [invalid=false]
|
||||
*/
|
||||
/** Set to `true` to indicate an invalid state */
|
||||
export let invalid = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to render a form requirement
|
||||
* @type {boolean} [message=false]
|
||||
*/
|
||||
/** Set to `true` to render a form requirement */
|
||||
export let message = false;
|
||||
|
||||
/**
|
||||
* Specify the message text
|
||||
* @type {string} [messageText=""]
|
||||
*/
|
||||
/** Specify the message text */
|
||||
export let messageText = "";
|
||||
|
||||
/**
|
||||
* Specify the legend text
|
||||
* @type {string} [legendText=""]
|
||||
*/
|
||||
/** Specify the legend text */
|
||||
export let legendText = "";
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue