mirror of
https://github.com/iib0011/omni-tools.git
synced 2026-04-21 04:36:25 +05:30
Compare commits
2 commits
main
...
prettify_J
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c3a1f948b1 | ||
|
|
50f6a94dda |
5 changed files with 33 additions and 0 deletions
3
src/pages/json/index.ts
Normal file
3
src/pages/json/index.ts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
import { tool as jsonPrettify } from './prettify/meta';
|
||||
import { tool as jsonPrettify } from './prettify/meta';
|
||||
export const jsonTools = [];
|
||||
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
Loading…
Add table
Add a link
Reference in a new issue