carbon-components-svelte
Version:
Svelte implementation of the Carbon Design System
15 lines (11 loc) • 371 B
TypeScript
import type { SvelteComponentTyped } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";
type RestProps = SvelteHTMLElements["tbody"];
export interface TableBodyProps extends RestProps {
[key: `data-${string}`]: any;
}
export default class TableBody extends SvelteComponentTyped<
TableBodyProps,
Record<string, any>,
{ default: {} }
> {}