tanstack-shadcn-table
Version:
A powerful, feature-rich React table component built on top of TanStack Table v8 with shadcn/ui styling. Optimized bundle size with 55% reduction through peer dependencies.
10 lines (9 loc) • 952 B
TypeScript
export { DataTable, fuzzyFilter, fuzzySort, } from "./components/custom/datatable";
export { default as DebouncedInput } from "./components/custom/debounced-input";
export { default as FilterInput } from "./components/custom/filter-input";
export { default as ColumnResizeHandle } from "./components/custom/column-resize-handle";
export { sanitizeHtml, sanitizeSearchInput, sanitizeFilterValue, validatePaginationParams, validateSortingParams, validateFileUpload, RateLimiter, CSP_DIRECTIVES, } from "./lib/security";
export { defaultTranslations, turkishTranslations, spanishTranslations, frenchTranslations, germanTranslations, availableLanguages, createTranslator, t, interpolate, } from "./lib/i18n";
export type { TableTranslations, SupportedLanguage } from "./lib/i18n";
export type { Column, ColumnDef, FilterType, TableOptions, PaginationOptions, LazyLoadEvent, SortingState, } from "./types/types";
export { cn, getValue } from "./lib/utils";