mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
feat(uishell): add right panel links
This commit is contained in:
parent
7146c69549
commit
44189c8819
5 changed files with 43 additions and 9 deletions
11
src/components/UIShell/GlobalHeader/HeaderPanelLink.svelte
Normal file
11
src/components/UIShell/GlobalHeader/HeaderPanelLink.svelte
Normal file
|
@ -0,0 +1,11 @@
|
|||
<script>
|
||||
export let href;
|
||||
|
||||
import { cx } from '../../../lib';
|
||||
</script>
|
||||
|
||||
<li class={cx('--switcher__item')}>
|
||||
<a class={cx('--switcher__item-link')} {href}>
|
||||
<slot />
|
||||
</a>
|
||||
</li>
|
Loading…
Add table
Add a link
Reference in a new issue