import { cn } from "@lib/utils"
import { SquareIcon } from "lucide-react"
import { Tooltip, TooltipContent, TooltipTrigger } from "@ui/components/tooltip"
export function SendButton({
onClick,
disabled,
disabledTooltip = "Type a message to send",
}: {
onClick: () => void
disabled: boolean
disabledTooltip?: string
}) {
const button = (
)
if (disabled) {
return (
{button}
{disabledTooltip}
)
}
return button
}
export function StopButton({ onClick }: { onClick: () => void }) {
return (
)
}