feat : add pakcage : mui and otpInput . add modal components

This commit is contained in:
ali josheghani
2024-06-04 00:06:16 +03:30
parent b8dc03f0cb
commit 546657c866
6 changed files with 718 additions and 45 deletions

View File

@@ -5,7 +5,7 @@ function Button({ children, onClick, extra, active }: ButtonProps) {
<button
className={`px-4 py-1 md:px-5 md:py-2 rounded-md transition duration-300 ease-in-out transform bg-white text-[#333] hover:bg-gray-600 hover:text-white ${
active
? "bg-yellow-600 shadow-yellow-600 hover:shadow-gray-600 shadow-lg text-white"
? "!bg-secondTheme shadow-secondTheme hover:shadow-gray-600 shadow-lg"
: ""
} ${extra}`}
onClick={onClick}