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