mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
14 lines
381 B
JavaScript
14 lines
381 B
JavaScript
import React from "react";
|
|
import { connect } from "react-redux";
|
|
|
|
import { toggleMainWindowShadeMode } from "../../actionCreators";
|
|
|
|
const Shade = props => (
|
|
<div id="shade" onClick={props.handleClick} title="Toggle Windowshade Mode" />
|
|
);
|
|
|
|
const mapDispatchToProps = {
|
|
handleClick: toggleMainWindowShadeMode
|
|
};
|
|
|
|
export default connect(() => ({}), mapDispatchToProps)(Shade);
|