mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore: lift components folder
This commit is contained in:
parent
76df51674d
commit
2200b29b92
301 changed files with 57 additions and 76 deletions
17
src/ListBox/ListBoxMenuItem.svelte
Normal file
17
src/ListBox/ListBoxMenuItem.svelte
Normal file
|
@ -0,0 +1,17 @@
|
|||
<script>
|
||||
export let active = false;
|
||||
export let highlighted = false;
|
||||
</script>
|
||||
|
||||
<div
|
||||
class:bx--list-box__menu-item={true}
|
||||
class:bx--list-box__menu-item--active={active}
|
||||
class:bx--list-box__menu-item--highlighted={highlighted}
|
||||
{...$$restProps}
|
||||
on:click
|
||||
on:mouseenter
|
||||
on:mouseleave>
|
||||
<div class:bx--list-box__menu-item__option={true}>
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue