refactor: update/fix JSDoc props

This commit is contained in:
Eric Liu 2020-11-04 06:04:25 -08:00
commit d38e6d8be6
204 changed files with 992 additions and 2359 deletions

View file

@ -1,31 +1,28 @@
<script>
/**
* Set to `true` to select the current link
* @type {boolean} [isSelected=false]
*/
/** Set to `true` to select the current link */
export let isSelected = false;
/**
* Specify the `href` attribute
* @type {string} [href]
* @type {string}
*/
export let href = undefined;
/**
* Specify the text
* @type {string} [text]
* @type {string}
*/
export let text = undefined;
/**
* Specify the icon props
* @type {{ render: typeof import("carbon-icons-svelte/lib/Add16").default; skeleton: boolean; }} [icon]
* @type {{ render: typeof import("carbon-icons-svelte/lib/Add16").default; skeleton: boolean; }}
*/
export let icon = undefined;
/**
* Obtain a reference to the HTML anchor element
* @type {null | HTMLAnchorElement} [ref=null]
* @type {null | HTMLAnchorElement}
*/
export let ref = null;