mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
chore(ui-shell): update company
prop description in Header
(#1770)
This commit is contained in:
parent
b015d76f15
commit
2715ed9c38
4 changed files with 7 additions and 5 deletions
|
@ -1575,7 +1575,7 @@ None.
|
|||
| expandedByDefault | No | <code>let</code> | No | <code>boolean</code> | <code>true</code> | Set to `false` to hide the side nav by default |
|
||||
| uiShellAriaLabel | No | <code>let</code> | No | <code>string</code> | <code>undefined</code> | Specify the ARIA label for the header |
|
||||
| href | No | <code>let</code> | No | <code>string</code> | <code>undefined</code> | Specify the `href` attribute |
|
||||
| company | No | <code>let</code> | No | <code>string</code> | <code>undefined</code> | Specify the company name |
|
||||
| company | No | <code>let</code> | No | <code>string</code> | <code>undefined</code> | Specify the company name. <br />Alternatively, use the named slot "company" (e.g., `<span slot="company">...</span>`) |
|
||||
| platformName | No | <code>let</code> | No | <code>string</code> | <code>""</code> | Specify the platform name<br />Alternatively, use the named slot "platform" (e.g., <span slot="platform">...</span>) |
|
||||
| persistentHamburgerMenu | No | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to persist the hamburger menu |
|
||||
| expansionBreakpoint | No | <code>let</code> | No | <code>number</code> | <code>1056</code> | The window width (px) at which the SideNav is expanded and the hamburger menu is hidden<br />1056 represents the "large" breakpoint in pixels from the Carbon Design System:<br />small: 320<br />medium: 672<br />large: 1056<br />x-large: 1312<br />max: 1584 |
|
||||
|
|
|
@ -4751,7 +4751,7 @@
|
|||
{
|
||||
"name": "company",
|
||||
"kind": "let",
|
||||
"description": "Specify the company name",
|
||||
"description": "Specify the company name. \nAlternatively, use the named slot \"company\" (e.g., `<span slot=\"company\">...</span>`)",
|
||||
"type": "string",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
|
|
|
@ -17,8 +17,9 @@
|
|||
*/
|
||||
export let href = undefined;
|
||||
|
||||
/**
|
||||
* Specify the company name
|
||||
/**
|
||||
* Specify the company name.
|
||||
* Alternatively, use the named slot "company" (e.g., `<span slot="company">...</span>`)
|
||||
* @type {string}
|
||||
*/
|
||||
export let company = undefined;
|
||||
|
|
3
types/UIShell/Header.svelte.d.ts
vendored
3
types/UIShell/Header.svelte.d.ts
vendored
|
@ -28,7 +28,8 @@ export interface HeaderProps
|
|||
href?: string;
|
||||
|
||||
/**
|
||||
* Specify the company name
|
||||
* Specify the company name.
|
||||
* Alternatively, use the named slot "company" (e.g., `<span slot="company">...</span>`)
|
||||
* @default undefined
|
||||
*/
|
||||
company?: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue