mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat(ui-shell): add HeaderGlobalAction component
This commit is contained in:
parent
9b6284a139
commit
7b3c111b5f
7 changed files with 110 additions and 1 deletions
23
types/index.d.ts
vendored
23
types/index.d.ts
vendored
|
@ -1591,6 +1591,29 @@ export class HeaderActionSearch extends CarbonSvelteComponent {
|
|||
};
|
||||
}
|
||||
|
||||
export class HeaderGlobalAction extends CarbonSvelteComponent {
|
||||
$$prop_def: {
|
||||
/**
|
||||
* Set to `true` to use the active variant
|
||||
* @default false
|
||||
*/
|
||||
isActive?: boolean;
|
||||
|
||||
/**
|
||||
* Specify the icon to render
|
||||
*/
|
||||
icon?: typeof import("carbon-icons-svelte/lib/Add16").default;
|
||||
|
||||
/**
|
||||
* Obtain a reference to the HTML button element
|
||||
* @default null
|
||||
*/
|
||||
ref?: null | HTMLButtonElement;
|
||||
};
|
||||
|
||||
$$slot_def: { default: {} };
|
||||
}
|
||||
|
||||
export class HeaderNav extends CarbonSvelteComponent {
|
||||
$$prop_def: {
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue