Created
February 21, 2018 09:23
-
-
Save jorgeortega/bbc4533abe02e5e5d3a1fda96281fcb3 to your computer and use it in GitHub Desktop.
React Simple Stateless Component
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 { string } from 'prop-types' | |
import './_SimpleModal.css' | |
export function SimpleModal ({ className }) { | |
return ( | |
<div className="SimpleModal__Container"> | |
Modal | |
</div> | |
) | |
} | |
SimpleModal.propTypes = { | |
className: string, | |
modalMessage: string | |
} | |
SimpleModal.defaultProps = { modalMessage: '' } | |
export default SimpleModal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment