text: import { Button } from 'antd';
  import React from 'react';
  
  export default function Story({ story, trigger, setTrigger }) {
    return trigger ? (
      <div className="story">
        <div className="story-inner">
          <p>Title: {story.title}</p>
          <p>Author: {story.author}</p>
          <p>{story.story}</p>
          <Button onClick={() => setTrigger(false)} danger>
            Close
          </Button>
        </div>
      </div>
    ) : (
      ''
    );
  }
  