UNPKG

claritykit-svelte

Version:

A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility

36 lines 1.14 kB
import type { TableColumn, TableFilter } from './types'; interface ExportFormat { id: string; label: string; extension: string; icon: string; description: string; mimeType: string; } interface Props { data: any[]; columns: TableColumn[]; filename?: string; formats?: ExportFormat[]; filters?: TableFilter[]; includeFilters?: boolean; onExport?: (format: string, data: any[], filename: string) => void; class?: string; 'data-testid'?: string; } /** * TableExporter * * Table data export utility with multiple format support and ADHD-friendly interface. * * @prop {Array} data - Data to export * @prop {Array} columns - Column configuration * @prop {string} [filename] - Export filename * @prop {Array} [formats] - Supported export formats * @prop {boolean} [includeFilters] - Include current filters in export * @prop {Function} [onExport] - Export callback */ declare const TableExporter: import("svelte").Component<Props, {}, "">; type TableExporter = ReturnType<typeof TableExporter>; export default TableExporter; //# sourceMappingURL=TableExporter.svelte.d.ts.map