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
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