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
|
@ -5,6 +5,7 @@ export interface ComposedModalProps
|
|||
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
||||
/**
|
||||
* Set the size of the composed modal
|
||||
* @default undefined
|
||||
*/
|
||||
size?: "xs" | "sm" | "lg";
|
||||
|
||||
|
|
2
types/ComposedModal/ModalFooter.svelte.d.ts
vendored
2
types/ComposedModal/ModalFooter.svelte.d.ts
vendored
|
@ -17,6 +17,7 @@ export interface ModalFooterProps
|
|||
|
||||
/**
|
||||
* Specify a class for the primary button
|
||||
* @default undefined
|
||||
*/
|
||||
primaryClass?: string;
|
||||
|
||||
|
@ -35,6 +36,7 @@ export interface ModalFooterProps
|
|||
|
||||
/**
|
||||
* Specify a class for the secondary button
|
||||
* @default undefined
|
||||
*/
|
||||
secondaryClass?: string;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue