generated from nyu-software-engineering/generic-mern-stack-project
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(edit the skeletons of reading list
buttons as well as status bar. imported them into app.js as well)
- Loading branch information
Showing
5 changed files
with
100 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,41 @@ | ||
import React from "react" | ||
|
||
const ReadingProgress = () => { | ||
// button to edit reading progress (enter page number) | ||
function UpdateReadingStatus() { | ||
return ( | ||
<button> | ||
Update progress | ||
</button> | ||
); | ||
}; | ||
|
||
function ReadingStatusBar() { | ||
return ( | ||
// status bar that displays how much of book currently read | ||
// current page/total pages * 100 | ||
<> | ||
|
||
|
||
|
||
</> | ||
); | ||
}; | ||
|
||
const ReadingProgress = () => { | ||
return ( | ||
// container | ||
<div className=""> | ||
// update status | ||
<div className=""> | ||
<UpdateReadingStatus/> | ||
</div> | ||
|
||
|
||
// status bar | ||
<div className=""> | ||
<ReadingStatusBar/> | ||
</div> | ||
|
||
</div> | ||
); | ||
}; | ||
|
||
export default ReadingProgress; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters