mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +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,19 +1,16 @@
|
|||
<script>
|
||||
/**
|
||||
* Specify the `scope` attribute
|
||||
* @type {string} [scope="col"]
|
||||
*/
|
||||
/** Specify the `scope` attribute */
|
||||
export let scope = "col";
|
||||
|
||||
/**
|
||||
* Override the default id translations
|
||||
* @type {() => string} [translateWithId = () => ""]
|
||||
* @type {() => string}
|
||||
*/
|
||||
export let translateWithId = () => "";
|
||||
|
||||
/**
|
||||
* Set an id for the top-level element
|
||||
* @type {string} [id]
|
||||
* @type {string}
|
||||
*/
|
||||
export let id = "ccs-" + Math.random().toString(36);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue