import React, { useState, MouseEvent, MouseEventHandler } from "react"; import { PostType } from "./typesrc"; type Props = { post: PostType; handleClick: MouseEventHandler; } export default function Post({ handleClick, post }: Props) { return (