import React from 'react' ; import { CellProps , isBooleanControl , RankedTester , rankWith , WithClassname } from '@jsonforms/core' ; import { withJsonFormsCellProps } from '@jsonforms/react' ; import { MuiCheckbox } from '../mui-controls/MuiCheckbox' ; export const MaterialBooleanCell = ( props ) => { return < MuiCheckbox { ... props } / > ; } ; export const materialBooleanCellTester = rankWith ( 2 , isBooleanControl ) ; export default withJsonFormsCellProps ( MaterialBooleanCell ) ;