Sha256: 99f037147560b4efb8880fb6da09d32055fe72067744121783dfe89d1baaa44e

Contents?: true

Size: 432 Bytes

Versions: 35

Compression:

Stored size: 432 Bytes

Contents

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

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

class Body extends Component {
  render() {
    const {
      children,
    } = this.props
    return (
      <div className="layout_body">
        {children}
      </div>
    )
  }
}

Body.propTypes = propTypes

export default Body

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
playbook_ui-4.14.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.15.1.alpha1 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.13.1 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.13.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.12.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.11.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.11.0.pre.alpha3 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.11.0.pre.alpha.pre.2 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.10.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.10.0.pre.alpha1 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.9.0.pre.alpha1 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.9.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.8.2 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.8.1 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.7.1 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.7.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.6.1 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.6.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.5.2 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.5.1 app/pb_kits/playbook/pb_layout/_body.jsx