import React from 'react' ; import { CellProps , isNumberControl , RankedTester , rankWith , WithClassname } from '@jsonforms/core' ; import { withJsonFormsCellProps } from '@jsonforms/react' ; import { MuiInputNumber } from '../mui-controls/MuiInputNumber' ; export const MaterialNumberCell = ( props ) => ( < MuiInputNumber { ... props } / > ) ; type { RankedTester } export const materialNumberCellTester = rankWith ( 2 , isNumberControl ) ; export default withJsonFormsCellProps ( MaterialNumberCell ) ;