carbon-components-svelte
Version:
Svelte implementation of the Carbon Design System
19 lines (13 loc) • 462 B
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";
type $RestProps = SvelteHTMLElements["tbody"];
type $Props = {
children?: (this: void) => void;
[key: `data-${string}`]: unknown;
};
export type TableBodyProps = Omit<$RestProps, keyof $Props> & $Props;
export default class TableBody extends SvelteComponentTyped<
TableBodyProps,
Record<string, any>,
{ default: Record<string, never> }
> {}