Reactjs-popup library open property is not working

15 views Asked by At

<Popup trigger={ <div

              onClick={()=>this.setState({isOpen:true})}
            >
              Click
          </div>
      }
            contentStyle={{width:250}}
            position={"bottom left"}
            arrow={false}
            on="click"
            open={this.state.isOpen}
            onClose={()=>this.setState({isOpen:false})}
          >
this.setState({isOpen:false)}>open

Is open property working on reactjs-popup library?

0

There are 0 answers