Run "yarn build:docs"

This commit is contained in:
Eric Liu 2022-05-12 20:16:06 -07:00
commit d4cf087050
3 changed files with 13 additions and 7 deletions

View file

@ -1608,10 +1608,11 @@ None.
### Events ### Events
| Event name | Type | Detail | | Event name | Type | Detail |
| :--------- | :--------- | :----- | | :--------- | :--------- | :---------------- |
| click | forwarded | -- | | open | dispatched | <code>null</code> |
| close | dispatched | -- | | close | dispatched | <code>null</code> |
| click | forwarded | -- |
## `HeaderActionLink` ## `HeaderActionLink`

View file

@ -4573,8 +4573,9 @@
} }
], ],
"events": [ "events": [
{ "type": "forwarded", "name": "click", "element": "button" }, { "type": "dispatched", "name": "open", "detail": "null" },
{ "type": "dispatched", "name": "close" } { "type": "dispatched", "name": "close", "detail": "null" },
{ "type": "forwarded", "name": "click", "element": "button" }
], ],
"typedefs": [], "typedefs": [],
"rest_props": { "type": "Element", "name": "button" } "rest_props": { "type": "Element", "name": "button" }

View file

@ -46,6 +46,10 @@ export interface HeaderActionProps
export default class HeaderAction extends SvelteComponentTyped< export default class HeaderAction extends SvelteComponentTyped<
HeaderActionProps, HeaderActionProps,
{ click: WindowEventMap["click"]; close: CustomEvent<any> }, {
open: CustomEvent<null>;
close: CustomEvent<null>;
click: WindowEventMap["click"];
},
{ default: {}; closeIcon: {}; icon: {}; text: {} } { default: {}; closeIcon: {}; icon: {}; text: {} }
> {} > {}