mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21: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
13
src/ListBox/ListBoxMenu.svelte
Normal file
13
src/ListBox/ListBoxMenu.svelte
Normal file
|
@ -0,0 +1,13 @@
|
|||
<script>
|
||||
export let id = "ccs-" + Math.random().toString(36);
|
||||
|
||||
$: menuId = `menu-${id}`;
|
||||
</script>
|
||||
|
||||
<div
|
||||
role="listbox"
|
||||
id={menuId}
|
||||
class:bx--list-box__menu={true}
|
||||
{...$$restProps}>
|
||||
<slot />
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue