import { JSXElement } from "solid-js"; import { PublicComment } from "../Util/api"; import ReplyButton from "./Buttons/Reply"; interface CommentProps { comment: PublicComment; } export function Comment(props: CommentProps): JSXElement { return ( <>
{props.comment.content}
Replies to parent comment if any
); }