"use client";
import React, { useState } from "react";
import { FiShare2 } from "react-icons/fi";
import ShareModal from "@/components/Hack/ShareModal";
interface HackShareButtonProps {
title: string;
url: string;
author: string | null;
}
export default function HackShareButton({ title, url, author }: HackShareButtonProps) {
const [showShareModal, setShowShareModal] = useState(false);
return (
<>
{showShareModal && (
setShowShareModal(false)} />
)}
>
);
}