Sha256: 3f8868a54717ff650ae958974ad72e62b491afeccc7b7bb44a1db97cc95d13d3
Contents?: true
Size: 442 Bytes
Versions: 26
Compression:
Stored size: 442 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
26 entries across 26 versions & 1 rubygems