a replacement for preventing the default behavior of forms: allows submission on enter
npm install @mapbox/react-submittable

Stop using preventDefault to get form behavior in React.
``js`
onCancel={this.onCancel}>
The Submittable component simulates the same enter & escape behaviorssubmit
you would get with the event of an HTML form, without having toonCancel` event when it sees it.
shut down the default behavior. It also catches the escape key and calls
an
npm install --save @mapbox/react-submittable