aboutsummaryrefslogtreecommitdiff
path: root/src/web/components/card/Card.jsx
diff options
context:
space:
mode:
authorNicolas James <Eele1Ephe7uZahRie@tutanota.com>2025-02-13 18:04:18 +1100
committerNicolas James <Eele1Ephe7uZahRie@tutanota.com>2025-02-13 18:04:18 +1100
commit93dfe2be64e8658839bcfe5356adf35f8cde7075 (patch)
treec60b1e20d569b74dbde85123e1b2bf3590c66244 /src/web/components/card/Card.jsx
initial commit
Diffstat (limited to 'src/web/components/card/Card.jsx')
-rw-r--r--src/web/components/card/Card.jsx10
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