import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import { CX, BREAKPOINT_EXTRA_SMALL, } from '../constants' import { me } from '../initial_state' import Button from '../components/button' import Text from '../components/text' import DeckSidebar from '../components/sidebar/deck_sidebar' import WrappedBundle from '../features/ui/util/wrapped_bundle' class DeckLayout extends React.PureComponent { render() { const { children, title, width } = this.props const isXS = width <= BREAKPOINT_EXTRA_SMALL if (isXS) { return (