Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraBergstrom committed Jun 27, 2023
1 parent cfa884c commit 2ee9272
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ Within each sprint, a MoSCoW method is used to further prioritize user stories.
* [ ] Design and implement footer (Could do)
* [ ] [USER STORY: Update profile](https://github.com/SandraBergstrom/travel-tickr/issues/13) (Must do)
* [x] [USER STORY: View a post](https://github.com/SandraBergstrom/travel-tickr/issues/15) (Must do)
* [ ] [USER STORY: Update a post](https://github.com/SandraBergstrom/travel-tickr/issues/16) (Must do)
* [x] [USER STORY: Update a post](https://github.com/SandraBergstrom/travel-tickr/issues/16) (Must do)
* [ ] [USER STORY: Delete a post](https://github.com/SandraBergstrom/travel-tickr/issues/17) (Must do)

* [x] [USER STORY: Search Posts](https://github.com/SandraBergstrom/travel-tickr/issues/18) (Must do)
Expand Down
7 changes: 7 additions & 0 deletions src/components/MoreDropdown.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React from "react";
import Dropdown from "react-bootstrap/Dropdown";
import styles from "../styles/MoreDropdown.module.css"
import OverlayTrigger from "react-bootstrap/OverlayTrigger";
import Tooltip from "react-bootstrap/Tooltip";

// The forwardRef is important!!
// Dropdown needs access to the DOM node in order to position the Menu
Expand Down Expand Up @@ -36,7 +38,12 @@ const ThreeDots = React.forwardRef(({ onClick }, ref) => (
onClick={handleDelete}
aria-label="delete"
>
<OverlayTrigger
placement="top"
overlay={<Tooltip>Are you sure you want to delete your post?!</Tooltip>}
>
<i className="fas fa-trash-alt" />
</OverlayTrigger>
</Dropdown.Item>
</Dropdown.Menu>
</Dropdown>
Expand Down

0 comments on commit 2ee9272

Please sign in to comment.