Skip to content

Commit

Permalink
Merge pull request #2 from shammy642/button_component
Browse files Browse the repository at this point in the history
Button component
  • Loading branch information
shammy642 authored Oct 15, 2024
2 parents 0d79a68 + 8452275 commit 604b7d3
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions frontend/src/components/Button.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//button than can pass a function and will display some text
export function Button(props) {

return (
<>
<button onClick={props.handleClick}>{props.buttonText}</button>
</>
)
}
1 change: 1 addition & 0 deletions frontend/src/handlers/placeholder.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Please delete this file
1 change: 1 addition & 0 deletions frontend/src/pages/placeholder.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Please delete this file
1 change: 1 addition & 0 deletions frontend/src/services/placeholder.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Please delete this file
1 change: 1 addition & 0 deletions frontend/tests/components/placeholder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Please delete this file
1 change: 1 addition & 0 deletions frontend/tests/handlers/placeholder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Please delete this file
1 change: 1 addition & 0 deletions frontend/tests/pages/placeholder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Please delete this file
1 change: 1 addition & 0 deletions frontend/tests/services/placeholder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Please delete this file

0 comments on commit 604b7d3

Please sign in to comment.