fix(comments): improve formatting of prop comments

This commit is contained in:
metonym 2023-07-23 12:17:43 -07:00
commit 4441ba1d59
18 changed files with 170 additions and 158 deletions

View file

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