mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(types): improve formatting of prop comments (#1779)
This commit is contained in:
parent
239f1b10e5
commit
be763706ca
18 changed files with 170 additions and 158 deletions
|
@ -30,8 +30,8 @@ export interface ContextMenuOptionProps extends RestProps {
|
|||
icon?: typeof import("svelte").SvelteComponent<any>;
|
||||
|
||||
/**
|
||||
* Specify the label text
|
||||
* Alternatively, use the "labelText" slot (e.g., <span slot="labelText">...</span>)
|
||||
* Specify the label text.
|
||||
* Alternatively, use the "labelText" slot (e.g., `<span slot="labelText">...</span>`)
|
||||
* @default ""
|
||||
*/
|
||||
labelText?: string;
|
||||
|
@ -50,8 +50,8 @@ export interface ContextMenuOptionProps extends RestProps {
|
|||
selectable?: boolean;
|
||||
|
||||
/**
|
||||
* Specify the shortcut text
|
||||
* Alternatively, use the "shortcutText" slot (e.g., <span slot="shortcutText">...</span>)
|
||||
* Specify the shortcut text.
|
||||
* Alternatively, use the "shortcutText" slot (e.g., `<span slot="shortcutText">...</span>`)
|
||||
* @default ""
|
||||
*/
|
||||
shortcutText?: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue