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
22 lines
477 B
React
22 lines
477 B
React
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import Block from './Block'
|
|
import InputDynamicArray from './InputDynamicArray'
|
|
import Fieldset from './Fieldset'
|
|
|
|
export default class FieldDynamicArray extends React.Component {
|
|
static propTypes = {
|
|
...InputDynamicArray.propTypes,
|
|
name: PropTypes.string,
|
|
}
|
|
|
|
render() {
|
|
const {props} = this;
|
|
|
|
return <Fieldset label={props.label}>
|
|
<InputDynamicArray {...props} />
|
|
</Fieldset>
|
|
}
|
|
}
|
|
|