UNPKG

svelte-ux

Version:

- Increment version in `package.json` and commit as `Version bump to x.y.z` - `npm run publish`

48 lines (47 loc) 1.27 kB
import { SvelteComponentTyped } from "svelte"; import type { ColumnDef } from '../types/table'; declare const __propDef: { props: { [x: string]: any; columns?: ColumnDef[]; data?: any[] | null; orderBy?: string | undefined; orderDirection?: 'asc' | 'desc' | undefined; classes?: { container?: string; wrapper?: string; table?: string; th?: string; td?: string; }; styles?: { container?: string; wrapper?: string; table?: string; th?: string; td?: string; }; }; events: { headerClick: CustomEvent<any>; cellClick: CustomEvent<any>; } & { [evt: string]: CustomEvent<any>; }; slots: { headers: { headers: ColumnDef<any>[][]; }; default: {}; data: { data: any[]; columns: ColumnDef<any>[]; }; }; }; export type TableProps = typeof __propDef.props; export type TableEvents = typeof __propDef.events; export type TableSlots = typeof __propDef.slots; export default class Table extends SvelteComponentTyped<TableProps, TableEvents, TableSlots> { } export {};