Created the Button.jsx
This commit is contained in:
parent
51a51f0fb7
commit
45ea0ca0e8
9
src/common/components/Button/Button.jsx
Normal file
9
src/common/components/Button/Button.jsx
Normal file
@ -0,0 +1,9 @@
|
||||
import "./styles.sass";
|
||||
|
||||
export const Button = ({children, onClick}) => {
|
||||
return (
|
||||
<button className="btn" onClick={onClick}>
|
||||
{children}
|
||||
</button>
|
||||
);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user