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
23 lines
402 B
JavaScript
23 lines
402 B
JavaScript
import React, {Fragment} from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import InputUrl from './InputUrl'
|
|
import Block from './Block'
|
|
|
|
|
|
export default class FieldUrl extends React.Component {
|
|
static propTypes = {
|
|
...InputUrl.propTypes,
|
|
}
|
|
|
|
render () {
|
|
const {props} = this;
|
|
|
|
return (
|
|
<Block label={this.props.label}>
|
|
<InputUrl {...props} />
|
|
</Block>
|
|
);
|
|
}
|
|
}
|
|
|