From e6ccc0174a86a0ade240e6551228598cd81f984b Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Tue, 1 Aug 2023 00:29:35 +0800
Subject: ...

---
 FrontEnd/src/pages/timeline/TimelinePostCard.tsx | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 FrontEnd/src/pages/timeline/TimelinePostCard.tsx

(limited to 'FrontEnd/src/pages/timeline/TimelinePostCard.tsx')

diff --git a/FrontEnd/src/pages/timeline/TimelinePostCard.tsx b/FrontEnd/src/pages/timeline/TimelinePostCard.tsx
new file mode 100644
index 00000000..83479349
--- /dev/null
+++ b/FrontEnd/src/pages/timeline/TimelinePostCard.tsx
@@ -0,0 +1,22 @@
+import { ReactNode } from "react";
+import classNames from "classnames";
+
+import Card from "@/views/common/Card";
+
+import "./TimelinePostCard.css";
+
+export interface TimelinePostEditCardProps {
+  className?: string;
+  children?: ReactNode;
+}
+
+export default function TimelinePostCard({
+  className,
+  children,
+}: TimelinePostEditCardProps) {
+  return (
+    <Card className={classNames("timeline-post-card", className)}>
+      {children}
+    </Card>
+  );
+}
-- 
cgit v1.2.3

