deleted some useless stuff and backend integration
This commit is contained in:
9
frontend/src/components/common/Button.jsx
Normal file
9
frontend/src/components/common/Button.jsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import React from 'react';
|
||||
|
||||
const Button = ({ text, onClick }) => (
|
||||
<button className="button light" type="button" onClick={onClick}>
|
||||
{text}
|
||||
</button>
|
||||
);
|
||||
|
||||
export default Button;
|
||||
Reference in New Issue
Block a user