static propTypes = { data: PropTypes.object.isRequired, onChange: PropTypes.func.isRequired };