Functional but settings modals position and size badly

This commit is contained in:
Your Name
2025-03-16 18:46:30 -04:00
parent ab5380a399
commit 3e4105aca3
14 changed files with 220 additions and 201 deletions
+11
View File
@@ -0,0 +1,11 @@
import React, { MouseEvent } from "react"
type ButtonProps = {
onClick: React.MouseEventHandler<HTMLButtonElement>
}
export function CloseButton({ onClick }: ButtonProps) {
return (
<button className="close-button" onClick={onClick}>×</button>
)
}