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.
40 lines (39 loc) • 1.31 kB
TypeScript
/**
* Main i18n exports
*
* For tree-shaking, import translations directly from locales:
*
* @example
* ```ts
* // ✅ Tree-shakeable - only imports English
* import { defaultTranslations } from 'tanstack-shadcn-table/i18n/en';
*
* // ❌ Imports all languages
* import { defaultTranslations } from 'tanstack-shadcn-table/lib/i18n';
* ```
*/
export type { TableTranslations, SupportedLanguage } from "./types";
export { t, interpolate, createTranslator } from "./utils";
export { defaultTranslations, turkishTranslations, spanishTranslations, frenchTranslations, germanTranslations, } from "./locales";
export declare const availableLanguages: {
readonly en: {
readonly name: "English";
readonly translations: import("./types").TableTranslations;
};
readonly tr: {
readonly name: "Türkçe";
readonly translations: import("./types").TableTranslations;
};
readonly es: {
readonly name: "Español";
readonly translations: import("./types").TableTranslations;
};
readonly fr: {
readonly name: "Français";
readonly translations: import("./types").TableTranslations;
};
readonly de: {
readonly name: "Deutsch";
readonly translations: import("./types").TableTranslations;
};
};