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; href?: string;
/** /**
* Specify the company name * Specify the company name.
* Alternatively, use the named slot "company" (e.g., <span slot="company">...</span>) * Alternatively, use the named slot "company" (e.g., `<span slot="company">...</span>`)
* @default undefined * @default undefined
*/ */
company?: string; company?: string;
/** /**
* Specify the platform name * Specify the platform name.
* Alternatively, use the named slot "platform" (e.g., <span slot="platform">...</span>) * Alternatively, use the named slot "platform" (e.g., `<span slot="platform">...</span>`)
* @default "" * @default ""
*/ */
platformName?: string; platformName?: string;
@ -48,7 +48,7 @@ export interface HeaderProps
persistentHamburgerMenu?: boolean; 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: * 1056 represents the "large" breakpoint in pixels from the Carbon Design System:
* small: 320 * small: 320
* medium: 672 * medium: 672