import React from 'react' import {latest} from '@maplibre/maplibre-gl-style-spec' import Block from './Block' import InputAutocomplete from './InputAutocomplete' import { WithTranslation, withTranslation } from 'react-i18next'; type FieldSourceLayerInternalProps = { value?: string onChange?(...args: unknown[]): unknown sourceLayerIds?: unknown[] isFixed?: boolean error?: {message: string} } & WithTranslation; class FieldSourceLayerInternal extends React.Component { static defaultProps = { onChange: () => {}, sourceLayerIds: [], isFixed: false } render() { const t = this.props.t; return [l, l])} /> } } const FieldSourceLayer = withTranslation()(FieldSourceLayerInternal); export default FieldSourceLayer;