mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 03:01:25 +00:00
fix(ui-shell): initialize platformName as empty string
Prevents "undefined" from being rendered.
This commit is contained in:
parent
cf2dc12546
commit
8950920a10
4 changed files with 40 additions and 61 deletions
1
types/index.d.ts
vendored
1
types/index.d.ts
vendored
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue