mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-12-17 17:56:38 +00:00
17 lines
464 B
TypeScript
17 lines
464 B
TypeScript
import { defineTool } from '@tools/defineTool';
|
|
import { lazy } from 'react';
|
|
|
|
export const tool = defineTool('string', {
|
|
path: 'truncate',
|
|
icon: 'material-symbols-light:content-cut',
|
|
|
|
keywords: ['truncate'],
|
|
component: lazy(() => import('./index')),
|
|
i18n: {
|
|
name: 'string:truncate.title',
|
|
description: 'string:truncate.description',
|
|
shortDescription: 'string:truncate.shortDescription',
|
|
userTypes: ['generalUsers', 'developers']
|
|
}
|
|
});
|