forgeplus-react/src/forge/DevOps/DisposeModal.jsx

29 lines
709 B
React
Raw Normal View History

2020-07-10 15:42:57 +08:00
import React from 'react';
import styled from 'styled-components';
import { Modal ,Button } from 'antd';
const Div = styled.div`{
height:130px;
line-height:130px;
text-align:center;
color:#333;
}`
2020-08-26 17:11:42 +08:00
export default (({visible , closeFunc , sureFunc})=>{
2020-07-10 15:42:57 +08:00
return(
<Modal
title="提示"
visible={visible}
closable={true}
footer={
<div>
<Button onClick={()=>closeFunc(false)}>取消</Button>
2020-08-26 17:11:42 +08:00
<Button type={"primary"} onClick={()=>sureFunc()} style={{marginLeft:"20px"}}>确定</Button>
2020-07-10 15:42:57 +08:00
</div>
}
onCancel={()=>closeFunc(false)}
>
<Div>工作流配置完成您的DevOps之旅即刻开启</Div>
</Modal>
)
})