extract InitialValuesType to types.ts (PR feedback incorporated)

This commit is contained in:
Michael Klein
2025-06-04 20:23:37 +02:00
parent 6988db600d
commit 92dad2a6eb
2 changed files with 4 additions and 4 deletions

View File

@@ -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'

View File

@@ -0,0 +1,3 @@
export type InitialValuesType = {
mode: 'encode' | 'decode';
};