import titleBgImg from "~/assets/images/map_bi/content/title_bg1.png";
import titleIcoImg from "~/assets/images/map_bi/content/title_ico.png";
import "./index.less";

function Title(props) {
  return (
    <div className="map_content_port_title_container" style={{ backgroundImage: `url(${titleBgImg})` }}>
      <div className="basic">
        <div className="img" style={{ backgroundImage: `url(${titleIcoImg})` }} />
        <div className="label">{props.title}</div>
      </div>
      <div className="extra">{props.extra}</div>
    </div>
  );
}

export default Title;
