import * as React from "react"; import { CardProps } from "./types"; export const fullcardStyles = { content: { backgroundColor: "#0c0c0c", color: "#f8f8f8" } }; export const FullCard = ({ card }: { card: CardProps | null }) => { if (card === null) { return <>>; } return (
{card.text}
Type | {card.type} |
Subtypes | {card.subtypes ? card.subtypes.join(", ") : ""} |
Set Name: | {card.set.name} |
Rarity | {card.rarity} |
Set | {card.set.name} |
Attributes | {card.attributes.join(", ")} |
Keywords | {card.keywords} |
Cost | {card.cost} |
Power | {card.power} |
Health | {card.health} |
Soul Summon | {card.soulSummon} |
Soul Trap | {card.soulTrap} |
This card is considered collectible.
: ""} {card.unique ? (This card is unique. Unique cards may only be used once per deck.
) : ( "" )}