diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-04-22 18:19:59 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-04-22 18:19:59 +0200 |
| commit | aaf646b552ffd088e1f67e0e9ea9f9188984eee1 (patch) | |
| tree | 77444b0361ef8ff0af122d810564c25b4d3bdeda /frontend/site/app/roadblock.js | |
| parent | 73fcbbd378220b28b80a12e6af68cd8d15eaafa0 (diff) | |
custom roadblock
Diffstat (limited to 'frontend/site/app/roadblock.js')
| -rw-r--r-- | frontend/site/app/roadblock.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/frontend/site/app/roadblock.js b/frontend/site/app/roadblock.js new file mode 100644 index 0000000..c9ec0b5 --- /dev/null +++ b/frontend/site/app/roadblock.js @@ -0,0 +1,14 @@ +import React from 'react' + +import "./roadblock.css" + +export default function Roadblock ({ onClick, title }) { + return ( + <div className='roadblock' onClick={onClick}> + <div> + <h2>{title}</h2> + <button>Enter</button> + </div> + </div> + ) +}
\ No newline at end of file |
