carbon-components-svelte
Version:
Svelte implementation of the Carbon Design System
20 lines (16 loc) • 529 B
TypeScript
import type { SvelteComponentTyped } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";
type RestProps = SvelteHTMLElements["thead"];
export interface TableHeadProps extends RestProps {
[key: `data-${string}`]: any;
}
export default class TableHead extends SvelteComponentTyped<
TableHeadProps,
{
click: WindowEventMap["click"];
mouseover: WindowEventMap["mouseover"];
mouseenter: WindowEventMap["mouseenter"];
mouseleave: WindowEventMap["mouseleave"];
},
{ default: {} }
> {}