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.5.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.4.1 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.4.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.3.1 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.3.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.2.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.1.2 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.1.1 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.1.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.0.1 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-4.0.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-3.5.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-3.4.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-3.3.0 app/pb_kits/playbook/pb_layout/_body.jsx
playbook_ui-3.2.0 app/pb_kits/playbook/pb_layout/_body.jsx