feat: Add basic Datatable and Pagination components (#5652)

* feat: add Datatable component

* feat: migrate to n8n-pagination and add datatable tests

* chore: fix linting issue
This commit is contained in:
Alex Grozav
2023-03-15 18:52:02 +02:00
committed by GitHub
parent b4e60c3b47
commit 29f2629716
16 changed files with 523 additions and 0 deletions

View File

@@ -0,0 +1 @@
export * from './useI18n';

View File

@@ -0,0 +1,7 @@
import { t } from '../locale';
export function useI18n() {
return {
t: (path: string, options: string[] = []) => t(path, options),
};
}