diff --git a/src/components/PlanCard/index.js b/src/components/PlanCard/index.js index b3b8cca35533..887bf82c84d5 100644 --- a/src/components/PlanCard/index.js +++ b/src/components/PlanCard/index.js @@ -1,10 +1,17 @@ -import React from "react"; +import React, { useState } from "react"; import Button from "../../reusecore/Button"; import { Col, Row, Container } from "../../reusecore/Layout"; import PlanCardWrapper from "./planCard.style"; import FeatureDetails from "./collapsible-details"; +import Modal from "react-modal"; +import PricingForm from "../PricingForm"; + +const PlanCard = ({ planData, isYearly }) => { + const [modalIsOpen, setModalIsOpen] = useState(false); + + const openModal = () => setModalIsOpen(true); + const closeModal = () => setModalIsOpen(false); -const PlanCard = ({ planData , isYearly }) => { if (!planData || !Array.isArray(planData) || planData.length === 0) { return