diff options
Diffstat (limited to 'src/web/components/card/Card.jsx')
| -rw-r--r-- | src/web/components/card/Card.jsx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/web/components/card/Card.jsx b/src/web/components/card/Card.jsx new file mode 100644 index 0000000..36c4f1d --- /dev/null +++ b/src/web/components/card/Card.jsx @@ -0,0 +1,10 @@ +import React from "react"; +import styles from "./Card.css"; + +export default function Card({children, className, ...others}) { + return ( + <div className={styles.card + (className ? " " + className : "")} {...others}> + {children} + </div> + ); +}
\ No newline at end of file |
