mirror of
https://github.com/maputnik/editor.git
synced 2026-02-10 22:50:00 +00:00
Keeps the repo clean, same as several other of our repos --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
23 lines
456 B
TypeScript
23 lines
456 B
TypeScript
import React from 'react'
|
|
import InputUrl, {FieldUrlProps as InputUrlProps} from './InputUrl'
|
|
import Block from './Block'
|
|
|
|
|
|
type FieldUrlProps = InputUrlProps & {
|
|
label: string;
|
|
fieldSpec?: {
|
|
doc: string
|
|
}
|
|
};
|
|
|
|
|
|
export default class FieldUrl extends React.Component<FieldUrlProps> {
|
|
render () {
|
|
return (
|
|
<Block label={this.props.label} fieldSpec={this.props.fieldSpec}>
|
|
<InputUrl {...this.props} />
|
|
</Block>
|
|
);
|
|
}
|
|
}
|