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