feat: create tool script

This commit is contained in:
Ibrahima G. Coulibaly
2024-06-23 19:57:58 +01:00
parent dd18f83180
commit a8cd385880
17 changed files with 217 additions and 38 deletions

View File

@@ -0,0 +1,6 @@
import { expect, describe, it } from 'vitest';
// import { } from './service';
//
// describe('change-colors-in-png', () => {
//
// })

View 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 ChangeColorsInPng() {
return <Box>Lorem ipsum</Box>;
}

View File

@@ -0,0 +1,12 @@
import { defineTool } from '@tools/defineTool';
import { lazy } from 'react';
import image from '../../../assets/text.png';
export const tool = defineTool('image/png', {
name: 'Change colors in png',
path: '/change-colors-in-png',
image,
description: '',
keywords: ['change', 'colors', 'in', 'png'],
component: lazy(() => import('./index'))
});