import { SvelteComponentTyped } from "svelte"; declare const __propDef: { props: { /** * 2D array of data to be rendered into the table */ data?: unknown[][] | undefined; }; events: { [evt: string]: CustomEvent; }; slots: { header: {}; default: {}; }; }; export type TableProps = typeof __propDef.props; export type TableEvents = typeof __propDef.events; export type TableSlots = typeof __propDef.slots; /** * Table * * Creates a table from a 2D array or by manually adding `TableRow` components * * Props: * - data (unknown[][]): 2D array of data to be rendered into the table * * Slots: * - default: For additional manual `TableRow` components. * These will be placed under the rows rendered from data * - header: For placing a `TableHeader` * * Css Variables: * - tableBg (default: #f0f0f0): background color for the table * - others: See `TableCell`, `TableHeader` and `TableRow` */ export default class Table extends SvelteComponentTyped { } export {};