UNPKG

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.

87 lines (86 loc) 2.13 kB
/** * Internationalization (i18n) types for the table library */ export interface TableTranslations { pagination: { previous: string; next: string; first: string; last: string; page: string; of: string; rowsPerPage: string; goToPage: string; totalRecords: string; showingXtoYofZ: string; noData: string; }; filters: { search: string; searchAllColumns: string; showFilter: string; hideFilter: string; clearFilter: string; clearAllFilters: string; filterBy: string; all: string; true: string; false: string; min: string; max: string; from: string; to: string; selectOption: string; noOptionsFound: string; selectedCount: string; clearFilters: string; noResultsFound: string; }; sorting: { sortAscending: string; sortDescending: string; clearSort: string; sortBy: string; }; columns: { hide: string; show: string; toggleVisibility: string; resetColumns: string; reorderColumns: string; resizeColumn: string; }; selection: { selectAll: string; selectRow: string; deselectAll: string; selectedCount: string; selectAllOnPage: string; selectAllRows: string; }; status: { loading: string; error: string; noResults: string; retry: string; loadMore: string; }; security: { rateLimitExceeded: string; invalidInput: string; fileSizeExceeded: string; fileTypeNotAllowed: string; inputTooLong: string; }; accessibility: { sortColumn: string; filterColumn: string; selectAllRows: string; selectRow: string; columnHeader: string; tableCaption: string; resizeHandle: string; dragHandle: string; }; } export type SupportedLanguage = "en" | "tr" | "es" | "fr" | "de";