main
Last change
on this file since 95ce58b was b13f93b, checked in by anastasovv <simon@…>, 2 years ago |
Made poker tables system and round 1
|
-
Property mode
set to
100644
|
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.