feat : add types for all props components , add scroll css styles

This commit is contained in:
Ali Josheghani
2024-05-20 22:25:03 +03:30
parent fd7bc724f9
commit 6e52e2634f
15 changed files with 116 additions and 14 deletions

View File

@@ -1,12 +0,0 @@
function Button({ children, onClick, extra }) {
return (
<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 ${extra}`}
onClick={onClick}
>
{children}
</button>
);
}
export default Button;