mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(header-action): type missing "open" event (#1293)
* fix(header-action): type missing "open" event * Run "yarn build:docs" * test(header-utilities): assert "open" and "close" events
This commit is contained in:
parent
1454eeae19
commit
5576c7ce84
5 changed files with 20 additions and 7 deletions
6
types/UIShell/HeaderAction.svelte.d.ts
vendored
6
types/UIShell/HeaderAction.svelte.d.ts
vendored
|
@ -46,6 +46,10 @@ export interface HeaderActionProps
|
|||
|
||||
export default class HeaderAction extends SvelteComponentTyped<
|
||||
HeaderActionProps,
|
||||
{ click: WindowEventMap["click"]; close: CustomEvent<any> },
|
||||
{
|
||||
open: CustomEvent<null>;
|
||||
close: CustomEvent<null>;
|
||||
click: WindowEventMap["click"];
|
||||
},
|
||||
{ default: {}; closeIcon: {}; icon: {}; text: {} }
|
||||
> {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue