mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
23 lines
544 B
TypeScript
23 lines
544 B
TypeScript
/// <reference types="svelte" />
|
|
import { SvelteComponentTyped } 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 SvelteComponentTyped<
|
|
HeaderPanelLinkProps,
|
|
{ click: WindowEventMap["click"] },
|
|
{ default: {} }
|
|
> {}
|