mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
* chore: update ignore rules, remove unused files * refactor(icons): use icons from carbon-icons-svelte@11 * docs(time-picker): fix default value * chore: upgrade carbon-icons-svelte to v11 * docs: update examples to use icons from carbon-icons-svelte@11 * docs: update number of icons [ci skip]
18 lines
290 B
Svelte
18 lines
290 B
Svelte
<script>
|
|
/** @extends {"./Link.svelte"} LinkProps */
|
|
|
|
import Link from "./Link.svelte";
|
|
import Launch from "../icons/Launch.svelte";
|
|
</script>
|
|
|
|
<Link
|
|
{...$$restProps}
|
|
on:click
|
|
on:mouseover
|
|
on:mouseenter
|
|
on:mouseleave
|
|
target="_blank"
|
|
icon="{Launch}"
|
|
>
|
|
<slot />
|
|
</Link>
|