text: import { Avatar } from '@material-ui/core';
  import React from 'react';
  import "./Story.css";
  
  const Story = ({ image, profileSrc, title }) => {
      return (
          <div style={{
                  backgroundImage: `url(${image})`,
                  backgroundRepeat: "no-repeat",
          }} 
                  className="story">
              <Avatar src={profileSrc} className="story__avatar"/>
              <h4>{title}</h4>
          </div>
      );
  }
  
  export default Story;
  