import React from 'react'; 


const backdrop = (props) => (
   props.show ? <div 
                  onClick={props.toggleBackdrop}
                  className="backdrop"></div> : null 
); 

export default backdrop; 