Easier way to to disable link in React?

前端 未结 7 442
逝去的感伤
逝去的感伤 2021-01-02 04:56

I want to disable Link in some condition:

render() {
    return (
  • {this.props.canClick ? Test
  • 7条回答
    提交回复
    热议问题