import React from 'react';
import Icon from '../../Icon/index';

const LargeScreenGISRTitle = (props: IProps) => {
  const { layerListEvent } = props;
  return (
    <div className="zl-ls-gis-title">
      <Icon
        name="icon-_pageBack"
        click={() => {
          layerListEvent(null, null, null, 'back2D');
        }}
      />
      <span>GIS地图组件</span>
    </div>
  );
};

export default LargeScreenGISRTitle;

export interface IProps {
  layerListEvent: Function;
}
