fix(breadcrumb-item): type default slot

This commit is contained in:
Eric Liu 2020-12-05 14:56:04 -08:00
commit 5d7dc321f4
5 changed files with 21 additions and 13 deletions

View file

@ -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