Created
January 12, 2020 09:49
-
-
Save emmabostian/0245634245cf881b437cafd61921d63c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { animated } from "react-spring"; | |
import "./modal.css"; | |
const Modal = ({ style, closeModal }) => ( | |
<div className="modal"> | |
<h3 className="modal-title">Modal title</h3> | |
<p className="modal-content">Here is some random text.</p> | |
<button className="modal-close-button"> Close </button> | |
</div> | |
); | |
export default Modal; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment