Dunestash Public Frontend 0.0.1-a.1
This commit is contained in:
commit
fe36970476
67 changed files with 2179 additions and 0 deletions
33
src/stash/stashbar/StashbarMenu.jsx
Normal file
33
src/stash/stashbar/StashbarMenu.jsx
Normal file
|
@ -0,0 +1,33 @@
|
|||
import React from "react";
|
||||
import {
|
||||
faBars,
|
||||
faCloudUploadAlt,
|
||||
faSearch,
|
||||
} from "@fortawesome/free-solid-svg-icons";
|
||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import "../scss/stash/Stashbar.scss";
|
||||
|
||||
class StashbarMenu extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="stashbar-menu">
|
||||
<span className="stashbar-action">
|
||||
<FontAwesomeIcon icon={faBars} />
|
||||
</span>
|
||||
<span className="stashbar-action">
|
||||
<label htmlFor="file-dropzone">
|
||||
<FontAwesomeIcon icon={faCloudUploadAlt} />
|
||||
</label>
|
||||
</span>
|
||||
<span
|
||||
className="stashbar-action"
|
||||
onClick={() => this.props.setSearchMode(true)}
|
||||
>
|
||||
<FontAwesomeIcon icon={faSearch} />
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export default StashbarMenu;
|
Reference in a new issue