mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41: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,17 +1,11 @@
|
|||
<script>
|
||||
/**
|
||||
* Set to `true` to hide the breadcrumb trailing slash
|
||||
* @type {boolean} [noTrailingSlash=false]
|
||||
*/
|
||||
/** Set to `true` to hide the breadcrumb trailing slash */
|
||||
export let noTrailingSlash = false;
|
||||
|
||||
/**
|
||||
* Set to `true` to display skeleton state
|
||||
* @type {boolean} [skeleton=false]
|
||||
*/
|
||||
/** Set to `true` to display skeleton state */
|
||||
export let skeleton = false;
|
||||
|
||||
import BreadcrumbSkeleton from "./Breadcrumb.Skeleton.svelte";
|
||||
import BreadcrumbSkeleton from "./BreadcrumbSkeleton.svelte";
|
||||
</script>
|
||||
|
||||
{#if skeleton}
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
<script>
|
||||
/**
|
||||
* Set the `href` to use an anchor link
|
||||
* @type {string} [href]
|
||||
* @type {string}
|
||||
*/
|
||||
export let href = undefined;
|
||||
|
||||
/**
|
||||
* Set to `true` if the breadcrumb item represents the current page
|
||||
* @type {boolean} [isCurrentPage=false]
|
||||
*/
|
||||
/** Set to `true` if the breadcrumb item represents the current page */
|
||||
export let isCurrentPage = false;
|
||||
|
||||
import { Link } from "../Link";
|
||||
|
|
|
@ -1,14 +1,8 @@
|
|||
<script>
|
||||
/**
|
||||
* Set to `true` to hide the breadcrumb trailing slash
|
||||
* @type {boolean} [noTrailingSlash=false]
|
||||
*/
|
||||
/** Set to `true` to hide the breadcrumb trailing slash */
|
||||
export let noTrailingSlash = false;
|
||||
|
||||
/**
|
||||
* Specify the number of breadcrumb items to render
|
||||
* @type {number} [count=3]
|
||||
*/
|
||||
/** Specify the number of breadcrumb items to render */
|
||||
export let count = 3;
|
||||
</script>
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
export { default as Breadcrumb } from "./Breadcrumb.svelte";
|
||||
export { default as BreadcrumbItem } from "./BreadcrumbItem.svelte";
|
||||
export { default as BreadcrumbSkeleton } from "./Breadcrumb.Skeleton.svelte";
|
||||
export { default as BreadcrumbSkeleton } from "./BreadcrumbSkeleton.svelte";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue