Skip to content

Commit

Permalink
Create Button.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Nov 20, 2024
1 parent 8cf2526 commit 3666691
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/components/UIComponents/Button.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react';

const Button = ({ onClick, label, style }) => {
return (
<button onClick={onClick} style={style}>
{label}
</button>
);
};

export default Button;

0 comments on commit 3666691

Please sign in to comment.