source:
components/FreeflowCard.jsx@
faff334
Last change on this file since faff334 was b13f93b, checked in by , 2 years ago | |
---|---|
|
|
File size: 248 bytes |
Line | |
---|---|
1 | import React from 'react' |
2 | |
3 | const FreeflowCard = ( { card } ) => { |
4 | const src = `/cards/${card}.png`; |
5 | |
6 | return ( |
7 | <div className="card" style={{backgroundImage: `url("${src}")`}}> |
8 | |
9 | </div> |
10 | ) |
11 | } |
12 | |
13 | export default FreeflowCard |
Note:
See TracBrowser
for help on using the repository browser.