Path: blob/main/components/dashboard/src/feedback-form/FeedbackModal.tsx
2500 views
/**1* Copyright (c) 2022 Gitpod GmbH. All rights reserved.2* Licensed under the GNU Affero General Public License (AGPL).3* See License.AGPL.txt in the project root for license information.4*/56import Modal from "../components/Modal";7import FeedbackComponent from "./FeedbackComponent";89function FeedbackFormModal(props: { onClose: () => void }) {10const onClose = () => {11props.onClose();12};1314return (15// TODO: Use title and buttons props16<Modal visible={true} onClose={onClose}>17<FeedbackComponent18onClose={onClose}19isModal={true}20isError={false}21message="We'd love to know what you think!"22/>23</Modal>24);25}2627export default FeedbackFormModal;282930