feat(uishell): nav

This commit is contained in:
Marcus Feitoza 2020-04-05 01:18:08 -03:00
commit f43f684b5c
8 changed files with 127 additions and 2 deletions

View file

@ -0,0 +1,23 @@
<script>
export let href = undefined;
export let text = undefined;
import { cx } from '../../../lib';
</script>
<li>
<a
class={cx('--header__menu-item')}
role="menuitem"
tabindex="0"
on:click
on:mouseover
on:mouseenter
on:mouseleave
on:keyup
on:keydown
on:focus
on:blur
{href}>
<span class={cx('--text-truncate--end')}>{text}</span>
</a>
</li>