Skip to content

Instantly share code, notes, and snippets.

@pavel-lens
Created April 19, 2017 16:01
Show Gist options
  • Save pavel-lens/ade732ab8ca29dbc4a56df36a08e3c39 to your computer and use it in GitHub Desktop.
Save pavel-lens/ade732ab8ca29dbc4a56df36a08e3c39 to your computer and use it in GitHub Desktop.
Revert/Apply component in action
<RevertApply onApplyClick={this.handleApplyClick} onRevertClick={this.handleRevertClick} >
<Label title="Parameter 1">
<Textbox value={param1} onChange={e => this.handleChange('param1', e)} />
</Label>
<Label title="Parameter 2">
<Textbox value={param2} onChange={e => this.handleChange('param2', e)} />
</Label>
</RevertApply>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment