mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
16 lines
408 B
TypeScript
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: {} }
|
|
> {}
|