From a60b0efddad458603741e0ac20ab5fce2275244f Mon Sep 17 00:00:00 2001 From: Emil Petrov Date: Thu, 25 Jan 2024 16:16:24 +0200 Subject: [PATCH] chore(html): add grid-normal template --- packages/html/src/grid/index.ts | 1 + .../html/src/grid/templates/grid-normal.tsx | 80 +++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 packages/html/src/grid/templates/grid-normal.tsx diff --git a/packages/html/src/grid/index.ts b/packages/html/src/grid/index.ts index 1e8d862bb19..7e7fed9f1a0 100644 --- a/packages/html/src/grid/index.ts +++ b/packages/html/src/grid/index.ts @@ -10,3 +10,4 @@ export * from './grid-footer.spec'; export * from './grid-footer-table.spec'; export * from './grid-pager.spec'; export * from './grid-toolbar.spec'; +export * from './templates/grid-normal'; diff --git a/packages/html/src/grid/templates/grid-normal.tsx b/packages/html/src/grid/templates/grid-normal.tsx new file mode 100644 index 00000000000..2969308c1ac --- /dev/null +++ b/packages/html/src/grid/templates/grid-normal.tsx @@ -0,0 +1,80 @@ +import { Grid, GridHeader, GridGroupingHeader ,GridContainer, GridContent, GridHeaderTable, GridHeaderCell, GridTable, GridPager } from '../../grid'; +import { TableThead, TableTbody, TableRow, TableTd } from '../../table'; + +export const GridNormal = (props) => ( + )} + groupingHeader={( + + )} + children={( + <> + +
+ + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + Maria Anders + Sales Representative + Alfreds Futterkiste + Germany + + + Ana Trujillo + Owner + Anna Trujillo Emparedados y helados + Mexico + + + Thomas Hardy + Sales Representative + Around the Horn + UK + + + Christina Berglund + Office Administrator + Berglunds snabbköp + Sweden + + + Martin Sommer + Owner + Bólido Comidas preparadas + Spain + + + + + + + )} + {...props}> +
+);