feat: add tool json (#5)

Co-authored-by: typist <git@mail.typist.cc>
Reviewed-on: #5
This commit is contained in:
2025-10-28 03:48:37 +08:00
parent c0aa618dfa
commit 97b2093b86
8 changed files with 214 additions and 1 deletions

View File

@@ -1,7 +1,8 @@
import type { ReactNode } from 'react';
import { Hash } from 'lucide-react'
import { FileJson, Hash } from 'lucide-react'
import UUID from './uuid'
import JSON from './json'
export interface Tool {
path: string;
@@ -18,5 +19,12 @@ export const tools: Tool[] = [
description: "Generate a UUID",
icon: <Hash />,
component: <UUID />,
},
{
path: "json",
name: "JSON Formatter",
description: "Format and validate JSON",
icon: <FileJson />,
component: <JSON />,
}
];