source:
components/FreeflowCard.jsx@
aac3b2b
Last change on this file since aac3b2b 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.