Revert on click changes to SideNavigation/Item
This commit is contained in:
parent
643e6a6702
commit
ae36401def
1 changed files with 1 additions and 2 deletions
|
@ -7,14 +7,13 @@
|
|||
export let icon = ""
|
||||
export let selected = false
|
||||
export let disabled = false
|
||||
export let onClick = undefined
|
||||
</script>
|
||||
|
||||
<li
|
||||
class="spectrum-SideNav-item"
|
||||
class:is-selected={selected}
|
||||
class:is-disabled={disabled}
|
||||
on:click={onClick}
|
||||
on:click
|
||||
>
|
||||
{#if heading}
|
||||
<h2 class="spectrum-SideNav-heading" id="nav-heading-{heading}">
|
||||
|
|
Loading…
Reference in a new issue