mirror of
https://github.com/maputnik/editor.git
synced 2026-02-06 12:40:00 +00:00
21 lines
436 B
TypeScript
21 lines
436 B
TypeScript
import React from 'react'
|
|
import InputMultiInput, {InputMultiInputProps} from './InputMultiInput'
|
|
import Fieldset from './Fieldset'
|
|
|
|
|
|
type FieldMultiInputProps = InputMultiInputProps & {
|
|
label?: string
|
|
};
|
|
|
|
|
|
export default class FieldMultiInput extends React.Component<FieldMultiInputProps> {
|
|
render() {
|
|
const {props} = this;
|
|
|
|
return <Fieldset label={props.label}>
|
|
<InputMultiInput {...props} />
|
|
</Fieldset>
|
|
}
|
|
}
|
|
|