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

import "./TimelinePostCard.css";

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

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