-
-
- {icon}
-
-
- {title}
-
+export const PageLayout: React.FC
= ({ icon, title, children }) => {
+ return (
+
+ {/* icon + title */}
+
-
{table}
-
- );
-};
\ No newline at end of file
+ {/* data */}
+
+ {children}
+
+
+ );
+};
diff --git a/compass/package-lock.json b/compass/package-lock.json
index ae63674..57eb56c 100644
--- a/compass/package-lock.json
+++ b/compass/package-lock.json
@@ -9,6 +9,7 @@
"version": "0.1.0",
"dependencies": {
"@heroicons/react": "^2.1.1",
+ "@tanstack/react-table": "^8.15.0",
"next": "13.5.6",
"react": "^18",
"react-dom": "^18"
@@ -401,6 +402,37 @@
"tslib": "^2.4.0"
}
},
+ "node_modules/@tanstack/react-table": {
+ "version": "8.15.0",
+ "resolved": "https://registry.npmjs.org/@tanstack/react-table/-/react-table-8.15.0.tgz",
+ "integrity": "sha512-8K4RSROUtXUtfiezV6Ehl8z99axFrkQnxXi0vjWBJv3Tsm5x4EyrgXI7d2tOOMoANykKZLB6S1sGZGemoMRt7Q==",
+ "dependencies": {
+ "@tanstack/table-core": "8.14.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ },
+ "peerDependencies": {
+ "react": ">=16.8",
+ "react-dom": ">=16.8"
+ }
+ },
+ "node_modules/@tanstack/table-core": {
+ "version": "8.14.0",
+ "resolved": "https://registry.npmjs.org/@tanstack/table-core/-/table-core-8.14.0.tgz",
+ "integrity": "sha512-wDhpKJahGHWhmRt4RxtV3pES63CoeadljGWS/xeS9OJr1HBl2NB+OO44ht3sxDH5j5TRDAbQzC0NvSlsUfn7lQ==",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/tannerlinsley"
+ }
+ },
"node_modules/@types/json5": {
"version": "0.0.29",
"resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",
diff --git a/compass/package.json b/compass/package.json
index 799aff9..ad436d0 100644
--- a/compass/package.json
+++ b/compass/package.json
@@ -10,6 +10,7 @@
},
"dependencies": {
"@heroicons/react": "^2.1.1",
+ "@tanstack/react-table": "^8.15.0",
"next": "13.5.6",
"react": "^18",
"react-dom": "^18"