Skip to content

Instantly share code, notes, and snippets.

@pavel-lens
Created April 19, 2017 16:01

Revisions

  1. pavel-lens created this gist Apr 19, 2017.
    8 changes: 8 additions & 0 deletions revert-apply-usage.jsx
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    <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>