mirror of
https://github.com/maputnik/editor.git
synced 2026-09-01 18:07:37 +00:00
2cc179acc1
- Added searchParams based router for easier testing - Added more stories to the storybook
21 lines
411 B
React
21 lines
411 B
React
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import InputEnum from './InputEnum'
|
|
import Block from './Block';
|
|
import Fieldset from './Fieldset';
|
|
|
|
|
|
export default class FieldEnum extends React.Component {
|
|
static propTypes = {
|
|
...InputEnum.propTypes,
|
|
}
|
|
|
|
render() {
|
|
const {props} = this;
|
|
|
|
return <Fieldset label={props.label}>
|
|
<InputEnum {...props} />
|
|
</Fieldset>
|
|
}
|
|
}
|