it-tools/src/tools/index.ts

23 lines
662 B
TypeScript
Raw Normal View History

2022-04-04 00:25:29 +02:00
import { LockOpen } from '@vicons/tabler';
2022-04-04 00:24:45 +02:00
import type { ToolCategory } from './Tool';
2022-03-31 00:33:29 +02:00
2022-04-04 00:25:29 +02:00
import { tool as tokenGenerator } from './token-generator';
2022-04-04 00:25:53 +02:00
import { tool as hashText } from './hash-text';
2022-04-04 21:46:35 +02:00
import { tool as uuidGenerator } from './uuid-generator';
import { tool as romanNumeralConverter } from './roman-numeral-converter';
2022-04-04 00:25:29 +02:00
export const toolsByCategory: ToolCategory[] = [
{
name: 'Crypto',
icon: LockOpen,
2022-04-04 21:46:35 +02:00
components: [tokenGenerator, hashText, uuidGenerator],
2022-04-04 00:25:29 +02:00
},
{
name: 'Converter',
icon: LockOpen,
components: [romanNumeralConverter],
},
2022-04-04 00:25:29 +02:00
];
2022-04-04 00:24:45 +02:00
export const tools = toolsByCategory.flatMap(({ components }) => components);