mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
fix(breadcrumb-item): type default slot
This commit is contained in:
parent
fc6c3267a6
commit
5d7dc321f4
5 changed files with 21 additions and 13 deletions
|
@ -1,4 +1,8 @@
|
|||
<script>
|
||||
/**
|
||||
* @slot {{props?: { ["aria-current"]?: string; class: "bx--link"; }}}
|
||||
*/
|
||||
|
||||
/**
|
||||
* Set the `href` to use an anchor link
|
||||
* @type {string}
|
||||
|
@ -8,7 +12,7 @@
|
|||
/** Set to `true` if the breadcrumb item represents the current page */
|
||||
export let isCurrentPage = false;
|
||||
|
||||
import { Link } from "../Link";
|
||||
import Link from "../Link/Link.svelte";
|
||||
</script>
|
||||
|
||||
<li
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue