mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-12-29 16:16:02 +00:00
tool setup
This commit is contained in:
11
src/pages/json/prettify/index.tsx
Normal file
11
src/pages/json/prettify/index.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Box } from '@mui/material';
|
||||
import React from 'react';
|
||||
import * as Yup from 'yup';
|
||||
|
||||
const initialValues = {};
|
||||
const validationSchema = Yup.object({
|
||||
// splitSeparator: Yup.string().required('The separator is required')
|
||||
});
|
||||
export default function Prettify() {
|
||||
return <Box>Lorem ipsum</Box>;
|
||||
}
|
||||
13
src/pages/json/prettify/meta.ts
Normal file
13
src/pages/json/prettify/meta.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
// import image from '@assets/text.png';
|
||||
|
||||
export const tool = defineTool('json', {
|
||||
name: 'Prettify',
|
||||
path: 'prettify',
|
||||
// image,
|
||||
description: '',
|
||||
shortDescription: '',
|
||||
keywords: ['prettify'],
|
||||
component: lazy(() => import('./index'))
|
||||
});
|
||||
6
src/pages/json/prettify/prettify.service.test.ts
Normal file
6
src/pages/json/prettify/prettify.service.test.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { expect, describe, it } from 'vitest';
|
||||
// import { } from './service';
|
||||
//
|
||||
// describe('prettify', () => {
|
||||
//
|
||||
// })
|
||||
0
src/pages/json/prettify/service.ts
Normal file
0
src/pages/json/prettify/service.ts
Normal file
Reference in New Issue
Block a user