import React, { MouseEvent } from "react"

type ButtonProps = {
    onClick: React.MouseEventHandler<HTMLButtonElement>
}

export function CloseButton({ onClick }: ButtonProps) {
    return (
        <button className="close-button" onClick={onClick}>×</button>
    )
}