import { Comment } from "@metahkg/api"; import { InfoOutlined } from "@mui/icons-material"; import { Box, Typography } from "@mui/material"; import React, { useState } from "react"; import CommentPopup from "../../lib/commentPopup"; export default function PinnedComment(props: { comment: Comment }) { const { comment } = props; const [open, setOpen] = useState(false); return ( { setOpen(true); }} >
Pinned Comment #{comment.id} {comment.text}
); }