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:
1
packages/design-system/src/composables/index.ts
Normal file
1
packages/design-system/src/composables/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from './useI18n';
|
||||
7
packages/design-system/src/composables/useI18n.ts
Normal file
7
packages/design-system/src/composables/useI18n.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { t } from '../locale';
|
||||
|
||||
export function useI18n() {
|
||||
return {
|
||||
t: (path: string, options: string[] = []) => t(path, options),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user