UNPKG

zl-modal

Version:

Modal组件

30 lines (25 loc) 687 B
# zl-modal Modal组件展示 使用示例 ```typescript jsx testInfo = ()=> { Modal.info({ show: true, title:'弄啥咧', showCancel: true, handleConfirm: this.handleConfirm, handleClose: this.handleClose }); }; render() { return ( <div> {/*<div onClick={this.testClick}>控制开关</div>*/} {/*<Modal show={this.state.show} title="更多选项" showCancel={true} handleClose={this.handleClose} handleConfirm={this.handleConfirm}>*/} {/* 弄啥咧*/} {/*</Modal>*/} <div onClick={this.testInfo}>测试js调用</div> </div> ); } ```