carbon-components-svelte/types/UIShell/HeaderActionLink.svelte.d.ts
metonym 62735d6275
breaking(ui-shell): remove GlobalHeader, SideNav folders (#1223)
* breaking(ui-shell): remove GlobalHeader/SideNav folders

* Run "yarn build:docs"
2022-04-02 11:46:55 -07:00

35 lines
733 B
TypeScript

/// <reference types="svelte" />
import { SvelteComponentTyped } from "svelte";
export interface HeaderActionLinkProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["a"]> {
/**
* Set to `true` to use the active state
* @default false
*/
linkIsActive?: boolean;
/**
* Specify the `href` attribute
* @default undefined
*/
href?: string;
/**
* Specify the icon to render
* @default undefined
*/
icon?: typeof import("svelte").SvelteComponent;
/**
* Obtain a reference to the HTML anchor element
* @default null
*/
ref?: null | HTMLAnchorElement;
}
export default class HeaderActionLink extends SvelteComponentTyped<
HeaderActionLinkProps,
{},
{ icon: {} }
> {}