import React from 'react';

import { Modal } from 'react-bootstrap';

const RecipeModal = ({isHidden, recipe}) => (
  <Modal
    show={!isHidden}
    bsSize='lg'
    backdrop={true}
  >
    <Modal.Body>
      Test
    </Modal.Body>
  </Modal>
);

export default RecipeModal;

@@ -5,16 +5,31 @@
 rt React
+, %7B PropTypes %7D
  from 'r
@@ -103,26 +103,13 @@
  = (
-%7BisHidden, recipe%7D
+props
 ) =%3E
@@ -131,16 +131,22 @@
  show=%7B!
+props.
 isHidden
@@ -180,14 +180,16 @@
 rop=
-%7Btrue%7D
+'static'
 %0A  %3E
@@ -250,16 +250,302 @@
 al%3E%0A);%0A%0A
+RecipeModal.propTypes = %7B%0A  isHidden: PropTypes.bool.isRequired,%0A  recipe: PropTypes.object,%0A  mode: PropTypes.string.isRequired,%0A  onCreate: PropTypes.func.isRequired,%0A  onUpdate: PropTypes.func.isRequired,%0A  onDelete: PropTypes.func.isRequired,%0A  onHide: PropTypes.func.isRequired%0A%7D%0A%0A
 export d

Add React.PropTypes to RecipeModal