mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-09-18 21:49:31 +02:00
extract InitialValuesType to types.ts (PR feedback incorporated)
This commit is contained in:
@@ -8,10 +8,7 @@ import { ToolComponentProps } from '@tools/defineTool';
|
||||
import { GetGroupsType } from '@components/options/ToolOptions';
|
||||
import { Box } from '@mui/material';
|
||||
import SimpleRadio from '@components/options/SimpleRadio';
|
||||
|
||||
interface InitialValuesType {
|
||||
mode: 'encode' | 'decode';
|
||||
}
|
||||
import { InitialValuesType } from './types';
|
||||
|
||||
const initialValues: InitialValuesType = {
|
||||
mode: 'encode'
|
||||
|
3
src/pages/tools/string/base64/types.ts
Normal file
3
src/pages/tools/string/base64/types.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export type InitialValuesType = {
|
||||
mode: 'encode' | 'decode';
|
||||
};
|
Reference in New Issue
Block a user