Select Git revision
Forked from
SOFT Core / SOFT 260 / React Redux Starter Code
4 commits behind, 19 commits ahead of the upstream repository.
-
Gabriel Clark authoredGabriel Clark authored
card.js 285 B
import PropTypes from 'prop-types';
import './card.css';
export function Card(props) {
Card.propTypes = {
title: PropTypes.string.isRequired,
};
return (
<div className="card">
<h1 className="cardTitle">{props.title}</h1>
{props.children}
</div>
);
}