box-ui-elements-mlh
Version:
16 lines (10 loc) • 387 B
Flow
// @flow
import * as React from 'react';
import type { FieldProps } from 'formik';
import RadioGroupPrimitive from './RadioGroup';
import type { RadioGroupProps } from './RadioGroup';
type Props = RadioGroupProps & FieldProps;
const RadioGroupField = ({ field, form, ...rest }: Props) => {
return <RadioGroupPrimitive {...field} {...rest} />;
};
export default RadioGroupField;