mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +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
1
types/UIShell/SideNav/SideNav.svelte.d.ts
vendored
1
types/UIShell/SideNav/SideNav.svelte.d.ts
vendored
|
@ -17,6 +17,7 @@ export interface SideNavProps
|
|||
|
||||
/**
|
||||
* Specify the ARIA label for the nav
|
||||
* @default undefined
|
||||
*/
|
||||
ariaLabel?: string;
|
||||
|
||||
|
|
|
@ -11,16 +11,19 @@ export interface SideNavLinkProps
|
|||
|
||||
/**
|
||||
* Specify the `href` attribute
|
||||
* @default undefined
|
||||
*/
|
||||
href?: string;
|
||||
|
||||
/**
|
||||
* Specify the text
|
||||
* @default undefined
|
||||
*/
|
||||
text?: string;
|
||||
|
||||
/**
|
||||
* Specify the icon to render
|
||||
* @default undefined
|
||||
*/
|
||||
icon?: typeof import("svelte").SvelteComponent;
|
||||
|
||||
|
|
|
@ -11,11 +11,13 @@ export interface SideNavMenuProps
|
|||
|
||||
/**
|
||||
* Specify the text
|
||||
* @default undefined
|
||||
*/
|
||||
text?: string;
|
||||
|
||||
/**
|
||||
* Specify the icon to render
|
||||
* @default undefined
|
||||
*/
|
||||
icon?: typeof import("svelte").SvelteComponent;
|
||||
|
||||
|
|
|
@ -11,11 +11,13 @@ export interface SideNavMenuItemProps
|
|||
|
||||
/**
|
||||
* Specify the `href` attribute
|
||||
* @default undefined
|
||||
*/
|
||||
href?: string;
|
||||
|
||||
/**
|
||||
* Specify the item text
|
||||
* @default undefined
|
||||
*/
|
||||
text?: string;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue