carbon-components-svelte/types/DataTable/TableBody.svelte.d.ts

16 lines
408 B
TypeScript

import type { SvelteComponentTyped } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";
type $RestProps = SvelteHTMLElements["tbody"];
type $Props = {
[key: `data-${string}`]: any;
};
export type TableBodyProps = Omit<$RestProps, keyof $Props> & $Props;
export default class TableBody extends SvelteComponentTyped<
TableBodyProps,
Record<string, any>,
{ default: {} }
> {}