mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-19 14:09:31 +02:00
27 lines
545 B
TypeScript
27 lines
545 B
TypeScript
import { defineTool } from '@tools/defineTool';
|
|
import { lazy } from 'react';
|
|
|
|
export const tool = defineTool('image-generic', {
|
|
i18n: {
|
|
name: 'image:resize.title',
|
|
description: 'image:resize.description',
|
|
shortDescription: 'image:resize.shortDescription',
|
|
userTypes: ['generalUsers']
|
|
},
|
|
|
|
path: 'resize',
|
|
icon: 'mdi:resize', // Iconify icon as a string
|
|
|
|
keywords: [
|
|
'resize',
|
|
'image',
|
|
'scale',
|
|
'jpg',
|
|
'png',
|
|
'svg',
|
|
'gif',
|
|
'dimensions'
|
|
],
|
|
component: lazy(() => import('./index'))
|
|
});
|