aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/pages/timeline/TimelinePostCard.tsx
blob: 83479349832e4eef2e43768653c24de6c3556dee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>
  );
}