source:
components/FreeflowCard.jsx
Last change on this file was b13f93b, checked in by , 2 years ago | |
---|---|
|
|
File size: 248 bytes |
Rev | Line | |
---|---|---|
[b13f93b] | 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.