mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-12-29 16:16:02 +00:00
Initial work on generating tools from equations and descriptions
This commit is contained in:
17
src/pages/tools/number/generic-calc/meta.ts
Normal file
17
src/pages/tools/number/generic-calc/meta.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
async function importComponent() {
|
||||
const x = await import('./index');
|
||||
return { default: x.default() };
|
||||
}
|
||||
export const tool = defineTool('number', {
|
||||
name: 'Generic calc',
|
||||
path: 'generic-calc',
|
||||
icon: '',
|
||||
description: '',
|
||||
shortDescription: '',
|
||||
keywords: ['generic', 'calc'],
|
||||
longDescription: '',
|
||||
component: lazy(importComponent)
|
||||
});
|
||||
Reference in New Issue
Block a user