feat : add type tp Button components

This commit is contained in:
ali josheghani
2024-06-04 00:35:52 +03:30
parent b2c5d127f4
commit e64785daf0

View File

@@ -9,6 +9,7 @@ function Button({ children, onClick, extra, active }: ButtonProps) {
: ""
} ${extra}`}
onClick={onClick}
type="button"
>
{children}
</button>