index.js 876 Bytes
import React, { Component } from 'react'
import { NavBar, Icon } from 'antd-mobile';
import shareHide from "../../utils/shareHide";

/*ReactDOM.render(
  <div>
    <NavBar
      mode="light"
      icon={<Icon type="left" />}
      onLeftClick={() => console.log('onLeftClick')}
      rightContent={[

        <Icon key="1" type="ellipsis" />,
      ]}
    >NavBar</NavBar>


  </div>
  , root);*/
export default class HeaderNav extends Component{
  constructor(){
    super();
    this.state={
      select:0
    }
  }
  componentDidMount(){
    shareHide();
  }

  render(){
    return (
      <div>
        <NavBar
          mode="light"
          icon={<Icon type="left" />}
          onLeftClick={() => console.log('onLeftClick')}
          rightContent={[

            <Icon key="1" type="ellipsis" />,
          ]}
        >NavBar</NavBar>


      </div>



    )
  }
}