add card component

This commit is contained in:
oscar 2023-03-18 12:01:39 +13:00
parent 84a2cc7bdd
commit 0ab7478690
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,7 @@
import classes from "./Card.module.css";
const Card = (props) => {
return <div className={classes.card}>{props.children}</div>;
};
export default Card;

View File

@ -0,0 +1,6 @@
.card {
padding: 1rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
border-radius: 14px;
background-color: white;
}