Created the Button.jsx

This commit is contained in:
Mathias Wagner 2023-11-13 11:47:36 +01:00
parent 51a51f0fb7
commit 45ea0ca0e8
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -0,0 +1,9 @@
import "./styles.sass";
export const Button = ({children, onClick}) => {
return (
<button className="btn" onClick={onClick}>
{children}
</button>
);
}