import PropTypes from 'prop-types' ; /**
 * Common PropTypes for all react-admin inputs
 */ const InputPropTypes = { label : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . bool ] ) , resource : PropTypes . string , source : PropTypes . string , } ; export default InputPropTypes ;