import React from 'react' ; import { and , ControlProps , isEnumControl , optionIs , OwnPropsOfEnum , RankedTester , rankWith } from '@jsonforms/core' ; import { withJsonFormsEnumProps } from '@jsonforms/react' ; import { MaterialRadioGroup } from './MaterialRadioGroup' ; export const MaterialRadioGroupControl = ( props ) => { return < MaterialRadioGroup { ... props } / > ; } ; export const materialRadioGroupControlTester = rankWith ( 20 , and ( isEnumControl , optionIs ( 'format' , 'radio' ) ) ) ; export default withJsonFormsEnumProps ( MaterialRadioGroupControl ) ;