-
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.
Reseting manual classification works
- Loading branch information
Showing
5 changed files
with
89 additions
and
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import React, { Component } from "react"; | ||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; | ||
import { faTrash, faFileDownload } from "@fortawesome/free-solid-svg-icons"; | ||
|
||
import { library } from "@fortawesome/fontawesome-svg-core"; //allows later to just use icon name to render-them | ||
|
||
library.add(faTrash, faFileDownload); | ||
|
||
class ResetAndSave extends Component { | ||
constructor(props) { | ||
super(props); | ||
this.state = {}; | ||
} | ||
|
||
render() { | ||
return ( | ||
<div className="plot_tab_container"> | ||
<div className="plot_tab_box"> | ||
<li key="Reset" onClick={this.props.handleReset}> | ||
<FontAwesomeIcon icon={["fas", "trash"]} className="tab-icon" /> | ||
Reset | ||
</li> | ||
</div> | ||
<div className="plot_tab_box"> | ||
<li key="Save"> | ||
<FontAwesomeIcon | ||
icon={["fas", "file-download"]} | ||
className="tab-icon" | ||
/> | ||
Save | ||
</li> | ||
</div> | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
export default ResetAndSave; |
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