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
|
@ -1737,7 +1737,7 @@ import { Header } from "carbon-components-svelte";
|
|||
| uiShellAriaLabel | <code>string</code> | -- | Specify the ARIA label for the header. |
|
||||
| href | <code>string</code> | -- | Specify the `href` attribute. |
|
||||
| company | <code>string</code> | -- | Specify the company name. |
|
||||
| platformName | <code>string</code> | -- | Specify the platform name. Alternatively, use the named slot "platform" (e.g. <span slot="platform">...</span>). |
|
||||
| platformName | <code>string</code> | `""` | Specify the platform name. Alternatively, use the named slot "platform" (e.g. <span slot="platform">...</span>). |
|
||||
| ref | <code>null | HTMLAnchorElement</code> | `null` | Obtain a reference to the HTML anchor element. |
|
||||
|
||||
### Slots
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue