mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
fix(overflow-menu): type dispatched close event
This commit is contained in:
parent
ed8977beea
commit
4967d49b03
5 changed files with 25 additions and 13 deletions
|
@ -1,4 +1,8 @@
|
|||
<script>
|
||||
/**
|
||||
* @event {{ index: number; text: string; }} close
|
||||
*/
|
||||
|
||||
/**
|
||||
* Specify the size of the overflow menu
|
||||
* @type {"sm" | "xl"}
|
||||
|
@ -52,7 +56,7 @@
|
|||
|
||||
import { createEventDispatcher, setContext, afterUpdate } from "svelte";
|
||||
import { writable } from "svelte/store";
|
||||
import OverflowMenuVertical16 from "carbon-icons-svelte/lib/OverflowMenuVertical16";
|
||||
import OverflowMenuVertical16 from "carbon-icons-svelte/lib/OverflowMenuVertical16/OverflowMenuVertical16.svelte";
|
||||
import { formatStyle } from "./formatStyle";
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue