Skip to content

Commit

Permalink
unnessecary ref in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sag1v committed Aug 1, 2018
1 parent 2669838 commit 3f78122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class App extends React.Component {
<button onClick={this.toggle} className="toggle-btn">Toggle when</button>
</div>
<div className="elements">
<Only ref={ref => this.onlyExample = ref} when={show} hiddenMode={hiddenMode} className={cssValue}>
<Only when={show} hiddenMode={hiddenMode} className={cssValue}>
<div style={{ color: "green" }} className="some-class">
<h1>Here I Am</h1>
</div>
Expand Down

0 comments on commit 3f78122

Please sign in to comment.