Sha256: fc865c0c5b91f865ccc30c9fe47021d9148c610d92d3c283dfd0aedf1a724b32
Contents?: true
Size: 448 Bytes
Versions: 11
Compression:
Stored size: 448 Bytes
Contents
import React from 'react'; import PropTypes from "prop-types"; const propTypes = { children: PropTypes.oneOfType([ PropTypes.arrayOf(PropTypes.node), PropTypes.node ]) }; class Card extends React.Component { render() { return ( <div className="pb_card"> <div className="pb_card_body"> { this.props.children } </div> </div> ) } } Card.propTypes = propTypes; export default Card;
Version data entries
11 entries across 11 versions & 1 rubygems