{"size": 486, "ext": "js", "max_stars_repo_path": "src/components/Card.js", "max_stars_repo_name": "MirzaMesko/elms-frontend", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/Card.js", "max_issues_repo_name": "MirzaMesko/elms-frontend", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/Card.js", "max_forks_repo_name": "MirzaMesko/elms-frontend", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.1428571429, "max_line_length": 54, "alphanum_fraction": 0.6872427984}
/* eslint-disable react/jsx-fragments */
import Typography from '@material-ui/core/Typography';
import PropTypes from 'prop-types';
import React from 'react';
import Title from './Title';

export default function Card(props) {
  const { title, text } = props;
  return (
    <React.Fragment>
      <Title>{title}</Title>
      <Typography>{text}</Typography>
    </React.Fragment>
  );
}

Card.propTypes = {
  title: PropTypes.string.isRequired,
  text: PropTypes.string.isRequired,
};
