import React from 'react'
import { Form } from 'react-advanced-form'
import { Input } from 'react-advanced-form-addons'
export default class MyForm extends React.Component {
handleUsernameChange = ({ nextValue }) => {
this.setState({ username: nextValue })
this.setState({ username: '' })
const { username } = this.state
<Form onReset={this.resetForm}>
onChange={this.handleUsernameChange} />