carbon-components-svelte/types/UIShell/HeaderGlobalAction.svelte.d.ts
militant_gnome 18130e0f75 Docs built
2024-02-24 14:06:03 -08:00

28 lines
649 B
TypeScript

import type { SvelteComponentTyped } from "svelte";
import type { ButtonProps } from "../Button/Button.svelte";
export interface HeaderGlobalActionProps extends ButtonProps {
/**
* Set to `true` to use the active variant
* @default false
*/
isActive?: boolean;
/**
* Specify the icon to render
* @default undefined
*/
icon?: typeof import("svelte").SvelteComponent<any>;
/**
* Obtain a reference to the HTML button element
* @default null
*/
ref?: undefined;
}
export default class HeaderGlobalAction extends SvelteComponentTyped<
HeaderGlobalActionProps,
{ click: WindowEventMap["click"] },
{}
> {}