Sha256: c088eed7a5becbef604927a27de0761ff7dffda8b3592f84ac791ae53a9cdf34

Contents?: true

Size: 454 Bytes

Versions: 26

Compression:

Stored size: 454 Bytes

Contents

import React, { Component } from "react";
import PropTypes from "prop-types";

const propTypes = {
  children: PropTypes.oneOfType([
      PropTypes.arrayOf(PropTypes.node),
      PropTypes.node
  ])
};

class Sidebar extends Component {
  render() {
    const {
      children
    } = this.props;
    return (
      <div className={`layout_sidebar`}>
        {children}
      </div>
    );
  }
}

Sidebar.propTypes = propTypes;

export default Sidebar;

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
playbook_ui-2.8.1 app/pb_kits/playbook/pb_layout/_sidebar.jsx
playbook_ui-2.7.2 app/pb_kits/playbook/pb_layout/_sidebar.jsx
playbook_ui-2.7.1 app/pb_kits/playbook/pb_layout/_sidebar.jsx
playbook_ui-2.7.0 app/pb_kits/playbook/pb_layout/_sidebar.jsx
playbook_ui-2.6.0 app/pb_kits/playbook/pb_layout/_sidebar.jsx
playbook_ui-2.5.0 app/pb_kits/playbook/pb_layout/_sidebar.jsx