import React from 'react' ; import { EnumCellProps , isOneOfEnumControl , RankedTester , rankWith , WithClassname } from '@jsonforms/core' ; import { withJsonFormsOneOfEnumCellProps } from '@jsonforms/react' ; import { MuiSelect } from '../mui-controls/MuiSelect' ; export const MaterialOneOfEnumCell = ( props ) => ( < MuiSelect { ... props } / > ) ; type { RankedTester } export const materialOneOfEnumCellTester = rankWith ( 2 , isOneOfEnumControl ) ; export default withJsonFormsOneOfEnumCellProps ( MaterialOneOfEnumCell ) ;