mirror of
https://github.com/maputnik/editor.git
synced 2025-12-27 08:30:02 +00:00
Added range slider to <NumberInput />
This commit is contained in:
@@ -16,6 +16,7 @@ class MaxZoomBlock extends React.Component {
|
||||
data-wd-key="max-zoom"
|
||||
>
|
||||
<NumberInput
|
||||
allowRange={true}
|
||||
value={this.props.value}
|
||||
onChange={this.props.onChange}
|
||||
min={latest.layer.maxzoom.minimum}
|
||||
|
||||
@@ -16,6 +16,7 @@ class MinZoomBlock extends React.Component {
|
||||
data-wd-key="min-zoom"
|
||||
>
|
||||
<NumberInput
|
||||
allowRange={true}
|
||||
value={this.props.value}
|
||||
onChange={this.props.onChange}
|
||||
min={latest.layer.minzoom.minimum}
|
||||
|
||||
Reference in New Issue
Block a user