mirror of
https://github.com/maputnik/editor.git
synced 2025-12-26 08:00:01 +00:00
- Added searchParams based router for easier testing - Added more stories to the storybook
21 lines
379 B
JavaScript
21 lines
379 B
JavaScript
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import Block from './Block'
|
|
import InputSelect from './InputSelect'
|
|
|
|
|
|
export default class FieldSelect extends React.Component {
|
|
static propTypes = {
|
|
...InputSelect.propTypes,
|
|
}
|
|
|
|
render() {
|
|
const {props} = this;
|
|
|
|
return <Block label={props.label}>
|
|
<InputSelect {...props}/>
|
|
</Block>
|
|
}
|
|
}
|
|
|