mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(types): include @default
annotations for props that are undefined
by default (#1020)
* chore(deps-dev): upgrade sveld to v0.12.1 * Run "yarn build:lib" * Re-run "yarn build:lib"
This commit is contained in:
parent
1f7b5560a8
commit
0d78c30b9d
64 changed files with 373 additions and 260 deletions
4
types/OverflowMenu/OverflowMenu.svelte.d.ts
vendored
4
types/OverflowMenu/OverflowMenu.svelte.d.ts
vendored
|
@ -5,6 +5,7 @@ export interface OverflowMenuProps
|
|||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["button"]> {
|
||||
/**
|
||||
* Specify the size of the overflow menu
|
||||
* @default undefined
|
||||
*/
|
||||
size?: "sm" | "xl";
|
||||
|
||||
|
@ -34,16 +35,19 @@ export interface OverflowMenuProps
|
|||
|
||||
/**
|
||||
* Specify the menu options class
|
||||
* @default undefined
|
||||
*/
|
||||
menuOptionsClass?: string;
|
||||
|
||||
/**
|
||||
* Specify the icon to render
|
||||
* @default undefined
|
||||
*/
|
||||
icon?: typeof import("svelte").SvelteComponent;
|
||||
|
||||
/**
|
||||
* Specify the icon class
|
||||
* @default undefined
|
||||
*/
|
||||
iconClass?: string;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue