import * as SVG from 'app/common/svg';
import SmallSquareButton from 'app/components/SmallSquareButton';
import * as React from 'react';
import { css } from 'react-emotion';
const STYLES_TOOLBAR = css`
display: flex;
align-items: center;
justify-content: flex-end;
`;
export default class ProjectManagerToolbar extends React.Component {
render() {
return (
{this.props.count > 1 && (
this.props.onChangeSectionCount(1)}
isActive={this.props.renderableCount === 1 && !this.props.isPublishing}>
)}
{this.props.count > 1 && (
this.props.onChangeSectionCount(2)}
isActive={this.props.renderableCount === 2 && !this.props.isPublishing}>
)}
{this.props.count > 2 && (
this.props.onChangeSectionCount(3)}
isActive={this.props.renderableCount === 3 && !this.props.isPublishing}>
)}
{this.props.count > 3 && (
this.props.onChangeSectionCount(4)}
isActive={this.props.renderableCount === 4 && !this.props.isPublishing}>
)}
);
}
}