import React from "react";
import { Button } from "../ui/button";
import { ThumbsDown, ThumbsUp } from "lucide-react";

function CommentVoteButton({
  vote,
  commentId,
}: {
  vote: boolean;
  commentId: string;
}) {
  return (
    <Button className="size-max p-1" variant={"ghost"}>
      {vote ? (
        <ThumbsUp className="size-4" />
      ) : (
        <ThumbsDown className="size-4" />
      )}
    </Button>
  );
}

export default CommentVoteButton;
