Improve Jsdoc formatting in typedef

This commit is contained in:
Janos Lengyel 2023-07-13 14:33:31 +02:00
commit fc7d712673

View file

@ -28,15 +28,15 @@ export interface HeaderProps
href?: string;
/**
* Specify the company name
* Alternatively, use the named slot "company" (e.g., <span slot="company">...</span>)
* Specify the company name.
* Alternatively, use the named slot "company" (e.g., `<span slot="company">...</span>`)
* @default undefined
*/
company?: string;
/**
* Specify the platform name
* Alternatively, use the named slot "platform" (e.g., <span slot="platform">...</span>)
* Specify the platform name.
* Alternatively, use the named slot "platform" (e.g., `<span slot="platform">...</span>`)
* @default ""
*/
platformName?: string;
@ -48,7 +48,7 @@ export interface HeaderProps
persistentHamburgerMenu?: boolean;
/**
* The window width (px) at which the SideNav is expanded and the hamburger menu is hidden
* The window width (px) at which the SideNav is expanded and the hamburger menu is hidden.
* 1056 represents the "large" breakpoint in pixels from the Carbon Design System:
* small: 320
* medium: 672