This repository has been archived on 2024-08-10. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
khufu/src/stash/stashbar/StashbarMenu.jsx

34 lines
852 B
React
Raw Normal View History

2021-07-24 23:06:32 -06:00
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;