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

29 lines
709 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
}`
export default (({visible , closeFunc , sureFunc})=>{
return(
<Modal
title="提示"
visible={visible}
closable={true}
footer={
<div>
<Button onClick={()=>closeFunc(false)}>取消</Button>
<Button type={"primary"} onClick={()=>sureFunc()} style={{marginLeft:"20px"}}>确定</Button>
</div>
}
onCancel={()=>closeFunc(false)}
>
<Div>工作流配置完成您的DevOps之旅即刻开启</Div>
</Modal>
)
})