mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11: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
3
types/Link/Link.svelte.d.ts
vendored
3
types/Link/Link.svelte.d.ts
vendored
|
@ -5,11 +5,13 @@ export interface LinkProps
|
|||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["p"]> {
|
||||
/**
|
||||
* Specify the size of the link
|
||||
* @default undefined
|
||||
*/
|
||||
size?: "sm" | "lg";
|
||||
|
||||
/**
|
||||
* Specify the href value
|
||||
* @default undefined
|
||||
*/
|
||||
href?: string;
|
||||
|
||||
|
@ -22,6 +24,7 @@ export interface LinkProps
|
|||
/**
|
||||
* Specify the icon to render
|
||||
* `inline` must be `false`
|
||||
* @default undefined
|
||||
*/
|
||||
icon?: typeof import("svelte").SvelteComponent;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue