refactor: consolidate Tool interface and UUID component

- Moved Tool interface definition from type.ts to index.tsx for better organization.
- Renamed UUID component to Tool in uuid.tsx and updated its export.
- Removed the now redundant type.ts file.
This commit is contained in:
typist
2025-10-28 03:27:10 +08:00
parent 16aa543431
commit c0aa618dfa
3 changed files with 14 additions and 13 deletions

View File

@@ -1,7 +1,15 @@
import type { ReactNode } from 'react';
import { Hash } from 'lucide-react'
import type { Tool } from "./type";
import { UUID } from './uuid'
import UUID from './uuid'
export interface Tool {
path: string;
name: string;
icon: ReactNode;
description: string;
component: ReactNode;
}
export const tools: Tool[] = [
{