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,33 +1,16 @@
|
|||
<script>
|
||||
/**
|
||||
* Specify the number of lines to render
|
||||
* @type {number} [lines=3]
|
||||
*/
|
||||
/** Specify the number of lines to render */
|
||||
export let lines = 3;
|
||||
|
||||
/**
|
||||
* Set to `true` to use the heading size variant
|
||||
* @type {boolean} [heading=false]
|
||||
*/
|
||||
/** Set to `true` to use the heading size variant */
|
||||
export let heading = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to use the paragraph size variant
|
||||
* @type {boolean} [paragraph=false]
|
||||
*/
|
||||
/** Set to `true` to use the paragraph size variant */
|
||||
export let paragraph = false;
|
||||
|
||||
/**
|
||||
* Specify the width of the text (% or px)
|
||||
* @type {string} [width="100%"]
|
||||
*/
|
||||
/** Specify the width of the text (% or px) */
|
||||
export let width = "100%";
|
||||
|
||||
/**
|
||||
* Array of random numbers
|
||||
* @constant
|
||||
* @type {number[]}
|
||||
*/
|
||||
const RANDOM = [0.973, 0.153, 0.567];
|
||||
|
||||
$: rows = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue