diff --git a/src/App.js b/src/App.js index 3784575..42f2ffc 100644 --- a/src/App.js +++ b/src/App.js @@ -1,25 +1,37 @@ -import logo from './logo.svg'; import './App.css'; +const sqlCards = [{ "CardImg":"https://is4-ssl.mzstatic.com/image/thumb/Purple118/v4/91/43/40/9143401d-5824-5d0a-e559-4872b27602b9/source/256x256bb.jpg", "CardName": "Devouring Dragon", "ManaCost": 5, "Power": 5, "Toughness": 5, "CardDesc": "He does to people what Greg does to booty.", "CreatureType": "Dragon" }, +{ "CardImg":"https://spellbook.blob.core.windows.net/hodassets/defaultportraits/fighter_default_cultist_female_0_2.jpg", "CardName": "Dragon Worshipper", "ManaCost": 1, "Power": 1, "Toughness": 1, "CardDesc": "He spends his days praying to dragons.", "CreatureType": "Human" }, +{ "CardImg":"https://a.wattpad.com/useravatar/Angoleth.256.592295.jpg", "CardName": "Dragon Whelp", "ManaCost": 2, "Power": 3, "Toughness": 2, "CardDesc": "He will get there.", "CreatureType": "Dragon" }]; + +function Card(props) { + props = props.props + return ( +
{props.CardDesc}
+Mana: {props.ManaCost}
+Power: {props.Power}
+Toughness: {props.Toughness}
+
- Edit src/App.js
and save to reload.
-