import React, { Component } from "react"; import ConnectedToolbarSection from './ConnectedToolbarSection'; import ConnectedLayoutButton from './ConnectedLayoutButton'; import PropTypes from 'prop-types'; import { RoundedButtonGroup } from 'react-viewerbase'; import './ToolbarRow.css'; import Icons from "../images/icons.svg" class ToolbarRow extends Component { static propTypes = { leftSidebarOpen: PropTypes.bool.isRequired, rightSidebarOpen: PropTypes.bool.isRequired, setLeftSidebarOpen: PropTypes.func, setRightSidebarOpen: PropTypes.func }; static defaultProps = { leftSidebarOpen: false, rightSidebarOpen: false }; onLeftSidebarValueChanged = (value) => { this.props.setLeftSidebarOpen(!!value); } render() { const leftSidebarToggle = [{ value: 'studies', svgLink: `${Icons}#icon-studies`, svgWidth: 15, svgHeight: 13, bottomLabel: 'Series', }]; const leftSidebarValue = this.props.leftSidebarOpen ? leftSidebarToggle[0].value : null; return (
{/* > roundedButtonGroup rightSidebarToggleButtonData */}
); } } export default ToolbarRow;