content: import React from 'react';
  import StoryElement from './StoryElement';
  
  const StoryList = ({storiesList, history, loggedIn, deleteFn, editFn}) => (
  <div>  
   {storiesList.map((story, i) =>  
    <div key={i}>	  
      <StoryElement story={story} history={history} loggedIn={loggedIn} deleteFn={deleteFn} editFn={editFn} />
    </div>
   )}
  </div>
  );
  
  export default StoryList;
  