fix(ui-shell): initialize platformName as empty string

Prevents "undefined" from being rendered.
This commit is contained in:
Eric Liu 2020-10-24 14:31:40 -07:00
commit 8950920a10
4 changed files with 40 additions and 61 deletions

1
types/index.d.ts vendored
View file

@ -1683,6 +1683,7 @@ export class Header extends CarbonSvelteComponent {
/**
* Specify the platform name
* Alternatively, use the named slot "platform" (e.g. <span slot="platform">...</span>)
* @default ""
*/
platformName?: string;