import React from 'react'; import { FastField } from 'formik'; import { handleStringChange } from 'utils'; import { useIntl } from 'react-intl'; import { RadioGroup, Radio } from '@blueprintjs/core'; export default function RadiosAccountingBasis(props) { const { key = 'basis', ...rest } = props; const { formatMessage } = useIntl(); return ( {({ form: { setFieldValue }, field: { value }, }) => ( { setFieldValue(key, value); })} className={'radio-group---accounting-basis'} selectedValue={value} {...rest} > )} ); }