diff --git a/src/pages/tools/string/base64/index.tsx b/src/pages/tools/string/base64/index.tsx index 61a579d..6176367 100644 --- a/src/pages/tools/string/base64/index.tsx +++ b/src/pages/tools/string/base64/index.tsx @@ -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' diff --git a/src/pages/tools/string/base64/types.ts b/src/pages/tools/string/base64/types.ts new file mode 100644 index 0000000..c8070f5 --- /dev/null +++ b/src/pages/tools/string/base64/types.ts @@ -0,0 +1,3 @@ +export type InitialValuesType = { + mode: 'encode' | 'decode'; +};