hearthstone-card

1.0.1 • Public • Published

Hearthstone card using React and SVG

Usage:

import React, { Component } from "react";
 
import {
  Card,
  Frame,
  Cost,
  Image,
  Title,
  Set,
  Rarity,
  Text,
  Strength,
  Health,
  Race
} from "./HearthstoneCard";
 
const PilotedShredder = () =>
  <Card>
    <Image id="GVG_096" clip />
    <Frame />
    <Cost fontFamily="Belwe">4</Cost>
    <Race fontFamily="Belwe">Mech</Race>
    <Health fontFamily="Belwe">3</Health>
    <Strength fontFamily="Belwe">4</Strength>
    <Rarity id="common" />
    <Title fontFamily="Belwe" flow>Piloted Shredder</Title>
    <Set id="gvg" />
    <Text rich>
      {"<b>Deathrattle:</b> Summon a random 2-Cost minion."}
    </Text>
  </Card>;

Readme

Keywords

Package Sidebar

Install

npm i hearthstone-card

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • eljuli