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} | Cost | {card.cost} |
Subtypes | {card.subtypes.join(", ")} | Power | {card.power} |
Rarity | {card.rarity} | Health | {card.health} |
Set | {card.set.name} | Soul Summon | {card.soulSummon} |
Attributes | {card.attributes.join(", ")} | Soul Trap | {card.soulTrap} |
Keywords | {card.keywords} |
Set Name: | {card.set.name} |
Type: | {card.type} |
This card is considered collectible.
: ""} {card.unique ? (This card is unique. Unique cards may only be used once per deck.
) : ( "" )}