mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 03:49:34 +00:00
fix(comments): improve formatting of prop comments
This commit is contained in:
parent
baff07e012
commit
4441ba1d59
18 changed files with 170 additions and 158 deletions
4
types/ContentSwitcher/Switch.svelte.d.ts
vendored
4
types/ContentSwitcher/Switch.svelte.d.ts
vendored
|
@ -5,8 +5,8 @@ type RestProps = SvelteHTMLElements["button"];
|
|||
|
||||
export interface SwitchProps extends RestProps {
|
||||
/**
|
||||
* Specify the switch text
|
||||
* Alternatively, use the "text" slot (e.g., <span slot="text">...</span>)
|
||||
* Specify the switch text.
|
||||
* Alternatively, use the "text" slot (e.g., `<span slot="text">...</span>`)
|
||||
* @default "Provide text"
|
||||
*/
|
||||
text?: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue