diff options
author | crupest <crupest@outlook.com> | 2023-08-01 00:29:35 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-08-01 00:29:35 +0800 |
commit | e6ccc0174a86a0ade240e6551228598cd81f984b (patch) | |
tree | d495dff9658c23de22191c4532e14016a6fb96a8 /FrontEnd/src/pages/timeline/TimelinePostCard.tsx | |
parent | 710ff9d3d2e55113798c39b0595f8f71b12091ef (diff) | |
download | timeline-e6ccc0174a86a0ade240e6551228598cd81f984b.tar.gz timeline-e6ccc0174a86a0ade240e6551228598cd81f984b.tar.bz2 timeline-e6ccc0174a86a0ade240e6551228598cd81f984b.zip |
...
Diffstat (limited to 'FrontEnd/src/pages/timeline/TimelinePostCard.tsx')
-rw-r--r-- | FrontEnd/src/pages/timeline/TimelinePostCard.tsx | 22 |
1 files changed, 22 insertions, 0 deletions
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> + ); +} |