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/CodeSnippet/CodeSnippet.svelte.d.ts
vendored
3
types/CodeSnippet/CodeSnippet.svelte.d.ts
vendored
|
@ -12,6 +12,7 @@ export interface CodeSnippetProps {
|
|||
* Set the code snippet text
|
||||
* Alternatively, use the default slot (e.g., <CodeSnippet>{`code`}</CodeSnippet>)
|
||||
* You must use the `code` prop to copy the code
|
||||
* @default undefined
|
||||
*/
|
||||
code?: string;
|
||||
|
||||
|
@ -61,11 +62,13 @@ export interface CodeSnippetProps {
|
|||
|
||||
/**
|
||||
* Specify the ARIA label for the copy button icon
|
||||
* @default undefined
|
||||
*/
|
||||
copyButtonDescription?: string;
|
||||
|
||||
/**
|
||||
* Specify the ARIA label of the copy button
|
||||
* @default undefined
|
||||
*/
|
||||
copyLabel?: string;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue