mirror of
https://github.com/maputnik/editor.git
synced 2026-08-30 17:07:26 +00:00
974dd7bfd9
This is to continue the work of migrating all the jsx files into tsx files. The MO is basically described here: #848. About 7 files to go...
19 lines
426 B
TypeScript
19 lines
426 B
TypeScript
import React from 'react'
|
|
import Block from './Block'
|
|
import InputAutocomplete, { InputAutocompleteProps } from './InputAutocomplete'
|
|
|
|
|
|
type FieldAutocompleteProps = InputAutocompleteProps & {
|
|
label?: string;
|
|
};
|
|
|
|
|
|
export default class FieldAutocomplete extends React.Component<FieldAutocompleteProps> {
|
|
render() {
|
|
return <Block label={this.props.label}>
|
|
<InputAutocomplete {...this.props} />
|
|
</Block>
|
|
}
|
|
}
|
|
|