mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-12-29 16:16:02 +00:00
feat: minor improvements and refactoring in Text Replacer Tool
- Changed the replaceText method to take all options as arguments. - Removed compute from SimpleRadio component. - Moved InitialValuesType type and initialValues object to a separate file to avoid Fast Refresh error. - Used ToolContent and added usage examples.
This commit is contained in:
13
src/pages/tools/string/text-replacer/meta.ts
Normal file
13
src/pages/tools/string/text-replacer/meta.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { defineTool } from '@tools/defineTool';
|
||||
import { lazy } from 'react';
|
||||
|
||||
export const tool = defineTool('string', {
|
||||
name: 'Text Replacer',
|
||||
path: 'replacer',
|
||||
shortDescription: 'Quickly replace text in your content',
|
||||
icon: 'material-symbols-light:find-replace',
|
||||
description:
|
||||
'Easily replace specific text in your content with this simple, browser-based tool. Just input your text, set the text you want to replace and the replacement value, and instantly get the updated version.',
|
||||
keywords: ['text', 'replace'],
|
||||
component: lazy(() => import('./index'))
|
||||
});
|
||||
Reference in New Issue
Block a user