aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/pages/timeline/TimelinePostCard.tsx
blob: f3743915dd00e473ccb65b4e1a98c1bf601a27d2 (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";

interface TimelinePostCardProps {
  className?: string;
  children?: ReactNode;
}

export default function TimelinePostCard({
  className,
  children,
}: TimelinePostCardProps) {
  return (
    <Card className={classNames("timeline-post-card", className)}>
      {children}
    </Card>
  );
}