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