mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 11:59:34 +00:00
chore(context-menu): update types
This commit is contained in:
parent
1101fe3bff
commit
2c9c2f1690
4 changed files with 6 additions and 3 deletions
1
types/ContextMenu/ContextMenu.d.ts
vendored
1
types/ContextMenu/ContextMenu.d.ts
vendored
|
@ -34,6 +34,7 @@ export default class ContextMenu extends SvelteComponentTyped<
|
|||
{
|
||||
click: WindowEventMap["click"];
|
||||
keydown: WindowEventMap["keydown"];
|
||||
open: CustomEvent<any>;
|
||||
close: CustomEvent<any>;
|
||||
},
|
||||
{ default: {} }
|
||||
|
|
2
types/ContextMenu/ContextMenuOption.d.ts
vendored
2
types/ContextMenu/ContextMenuOption.d.ts
vendored
|
@ -50,7 +50,7 @@ export interface ContextMenuOptionProps
|
|||
|
||||
/**
|
||||
* Specify the id
|
||||
* It's highly recommended to provide an id when using in a selectable/radio menu group
|
||||
* It's recommended to provide an id as a value to bind to within a selectable/radio menu group
|
||||
* @default "ccs-" + Math.random().toString(36)
|
||||
*/
|
||||
id?: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue