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