carbon-components-svelte/types/UIShell/HeaderPanelLink.svelte.d.ts
Enrico Sacchetti 56488e7375
chore: migrate to svelte-4
- Use `SvelteComponent` instead of `SvelteComponentTyped`
- use `local` transitions for backwards-compatibility
2023-07-07 22:24:53 -04:00

23 lines
539 B
TypeScript

/// <reference types="svelte" />
import type { SvelteComponent } from "svelte";
export interface HeaderPanelLinkProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["a"]> {
/**
* Specify the `href` attribute
* @default undefined
*/
href?: string;
/**
* Obtain a reference to the HTML anchor element
* @default null
*/
ref?: null | HTMLAnchorElement;
}
export default class HeaderPanelLink extends SvelteComponent<
HeaderPanelLinkProps,
{ click: WindowEventMap["click"] },
{ default: {} }
> {}