Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

📊 validator-table.jsx

nirholas62eaf464778f
diff --git a/src/components/validator-table.jsx b/src/components/validator-table.jsx
new file mode 100644
index 000000000..2175ff8b2
--- /dev/null
+++ b/src/components/validator-table.jsx
@@ -0,0 +1,37 @@
+import vhtml from 'vhtml';
+
+/** @jsx vhtml */
+
+export function ValidatorTable({ title, color, messages }) {
+ return (
+ <table class="report-table">
+ <thead>
+ <tr style={`background: ${color}`}>
+ <th>{title}</th>
+ <th>Message</th>
+ <th>Pointer</th>
+ </tr>
+ </thead>
+ <tbody>
+ {messages.map(({ code, message, pointer }) => {
+ return (
+ <tr>
+ <td>
+ <code>{code}</code>
+ </td>
+ <td>{message}</td>
+ <td>
+ <code>{pointer}</code>
+ </td>
+ </tr>
+ );
+ })}
+ {messages.length === 0 && (
+ <tr>
+ <td colspan="3">No issues found.</td>
+ </tr>
+ )}
+ </tbody>
+ </table>
+ );
+}