We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fec5be8 commit 21095c7Copy full SHA for 21095c7
examples/parallax-test/components/ParallaxTest/ParallaxTest.js
@@ -109,7 +109,7 @@ export default class ParallaxTest extends React.Component {
109
<div className={style.currentState}>
110
<h4>
111
Y Offsets:
112
- <span className="value">{this.state.offsetY}</span>
+ <span className="value">{this.state.offsetY}{this.state.unitPercent ? '%' : 'px'}</span>
113
</h4>
114
<button onClick={this.increaseOffsetY}>Increase</button>
115
<button onClick={this.decreaseOffsetY}>Decrease</button>
0 commit comments