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 d639647 commit 2287c16Copy full SHA for 2287c16
webpack_in/entry.jsx
@@ -276,6 +276,24 @@ class ColorComponentEntry extends React.Component {
276
277
this.props.onChangeValue(convertValue(strValueEntered));
278
}} />
279
+ <button onClick={ () => {
280
+ const valueNew = this.props.value + 1;
281
+
282
+ if (valueNew > 255) {
283
+ return;
284
+ }
285
286
+ this.props.onChangeValue(valueNew);
287
+ }}>▲</button>
288
289
+ const valueNew = this.props.value - 1;
290
291
+ if (valueNew < 0) {
292
293
294
295
296
+ }}>▼</button>
297
</div>
298
);
299
}
0 commit comments