import * as React from "react";
import manageJss from "@microsoft/fast-jss-manager-react";
import { toPx } from "@microsoft/fast-jss-utilities";
const style = {
    shellPaneCollapse: {
        background: "blue",
        height: toPx(48),
        width: toPx(48)
    }
};
class ShellPaneCollapse extends React.Component {
    constructor() {
        super(...arguments);
        this.handleUpdateCollapse = () => {
            if (this.props.onUpdate) {
                this.props.onUpdate();
            }
        };
    }
    render() {
        return (React.createElement("button", { className: this.props.managedClasses.shellPaneCollapse, onClick: this.handleUpdateCollapse }, this.props.children));
    }
}
export default manageJss(style)(ShellPaneCollapse);
//# sourceMappingURL=pane-collapse.js.map