import { SplitOperatorType } from '../../pages/string/split/service'; import { Box, Stack } from '@mui/material'; import { Field } from 'formik'; import Typography from '@mui/material/Typography'; import React from 'react'; import TextFieldWithDesc from './TextFieldWithDesc'; const RadioWithTextField = ({ fieldName, type, title, onTypeChange, value, description, onTextChange }: { fieldName: string; title: string; type: T; onTypeChange: (val: T) => void; value: string; description: string; onTextChange: (value: string) => void; }) => { const onChange = () => onTypeChange(type); return ( {title} ); }; export default RadioWithTextField;