{"size": 1102, "ext": "js", "max_stars_repo_path": "src/components/Card/Card.js", "max_stars_repo_name": "mattnickles/ux-chi-uxpin-merge", "max_stars_repo_stars_event_min_datetime": "2021-06-28T17:32:04.000Z", "max_stars_repo_stars_event_max_datetime": "2021-06-28T17:32:04.000Z", "max_issues_repo_path": "src/components/Card/Card.js", "max_issues_repo_name": "mattnickles/ux-chi-uxpin-merge", "max_issues_repo_issues_event_min_datetime": "2021-05-18T13:47:55.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-18T13:47:55.000Z", "max_forks_repo_path": "src/components/Card/Card.js", "max_forks_repo_name": "mattnickles/ux-chi-uxpin-merge", "max_forks_repo_forks_event_min_datetime": "2021-02-08T14:30:12.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-11T17:13:14.000Z"}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": 5, "avg_line_length": 20.4074074074, "max_line_length": 80, "alphanum_fraction": 0.5299455535}
import * as PropTypes from 'prop-types';
import * as React from 'react';
/**
 * @uxpincomponent
 * @uxpinwrappers
 * SkipContainerWrapper
 */
/* eslint-disable */
const Card = (props, {uxpinRef}) => (
  <div style={{
    minWidth: '336px',
    resize: 'both',
    overflow: 'hidden',
    color: '#fff'
  }}>
    <div className={`
      chi-card
      ${props.portal ? '-portal' : ''}
      ${props.state ? `-${props.state}` : ''}
      -w--100
      -h--100
      `}
      ref={ uxpinRef }>
        {props.title ?
        <div className="chi-card__header -sm">
          <div className="chi-card__title">
            {props.title}
          </div>
        </div>
        : ''}
      <div
          className="chi-card__content" style={{width: '100%', height: '100%'}}>
          <div className="chi-card__caption">
            {props.content}
          </div>
      </div>
    </div>
  </div>
);

Card.propTypes = {
  portal: PropTypes.bool,
  title: PropTypes.string,
  content: PropTypes.string
};
/* eslint-enable */

Card.defaultProps = {
  portal: true,
  title: 'Title',
};

export default Card;
