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

Version Path
playbook_ui-2.8.7 app/pb_kits/playbook/pb_card/_card.jsx
playbook_ui-2.8.6 app/pb_kits/playbook/pb_card/_card.jsx
playbook_ui-2.8.5 app/pb_kits/playbook/pb_card/_card.jsx
playbook_ui-2.8.4 app/pb_kits/playbook/pb_card/_card.jsx
playbook_ui-2.8.3 app/pb_kits/playbook/pb_card/_card.jsx
playbook_ui-2.8.1 app/pb_kits/playbook/pb_card/_card.jsx
playbook_ui-2.7.2 app/pb_kits/playbook/pb_card/_card.jsx
playbook_ui-2.7.1 app/pb_kits/playbook/pb_card/_card.jsx
playbook_ui-2.7.0 app/pb_kits/playbook/pb_card/_card.jsx
playbook_ui-2.6.0 app/pb_kits/playbook/pb_card/_card.jsx
playbook_ui-2.5.0 app/pb_kits/playbook/pb_card/_card.jsx