import React from 'react'
import Company from './Company'
import Feature from './Feature'
import Area from './Area'
import './index.less'

export default React.memo(function Filter(props) {
  return (
    <div className="map-filter">
      <div className="map-filter-left">
        <Company filter={props.filter} />
        <Area mapInstance={props.mapInstance} resetScale={props.resetScale} />
      </div>
      <Feature filter={props.filter} />
    </div>
  )
})