diff --git a/ui/cap-react/src/components/cms/components/SchemaWizard/PropertyEditor/DeletePropertyModal.js b/ui/cap-react/src/components/cms/components/SchemaWizard/PropertyEditor/DeletePropertyModal.js new file mode 100644 index 0000000000..99901941d3 --- /dev/null +++ b/ui/cap-react/src/components/cms/components/SchemaWizard/PropertyEditor/DeletePropertyModal.js @@ -0,0 +1,35 @@ +import React from "react"; +import PropTypes from "prop-types"; +import Modal from "../../../../partials/Modal"; +import Button from "../../../../partials/Button"; +import Box from "grommet/components/Box"; +import Paragraph from "grommet/components/Paragraph"; + +const DeletePropertyModal = ({ show, text, onClose, onDelete }) => { + return ( + show && ( + + + + Are you sure you want to delete + {text} + + + +