Created the Button.jsx

This commit is contained in:
Mathias committed 2023-11-13 11:47:36 +01:00
1 parent 51a51f0fb7
commit 45ea0ca0e8
1 file changed
+9
+9
View File
@@ -0,0 +1,9 @@
import "./styles.sass";
export const Button = ({children, onClick}) => {
return (
<button className="btn" onClick={onClick}>
{children}
</button>
);
}