render () {
    // Grab our configuration
    const { card, fonts, layers } = this.props.configuration;

    // Compute layers, gradients and fonts
    const layerArray = this.computeLayers(layers);
    const gradientsArray = this.computeGradients(layers);
    const fontsArray = this.computeFonts(fonts);

    // Return
    return (
      <div className="card" ref="svg" style={{maxWidth: card.width, maxHeight: card.height}}>
        <SVG height={card.height} width={card.width} fill={card.fill}>

          <defs>
            {fontsArray}
            {gradientsArray}
          </defs>

          {layerArray}

        </SVG>
      </div>
    );
  }
/**
   * Renders the card
   *
   * @return {object} JSX for the React Component
   */
Renders the card
@return {object} JSX for the React Component
Renders the card @return { object } JSX for the React Component
render () {
    const { card, fonts, layers } = this.props.configuration;
    const layerArray = this.computeLayers(layers);
    const gradientsArray = this.computeGradients(layers);
    const fontsArray = this.computeFonts(fonts);
    return (
      <div className="card" ref="svg" style={{maxWidth: card.width, maxHeight: card.height}}>
        <SVG height={card.height} width={card.width} fill={card.fill}>
          <defs>
            {fontsArray}
            {gradientsArray}
          </defs>
          {layerArray}
        </SVG>
      </div>
    );
  }
render ( ) { const { card , fonts , layers } = this . props . configuration ; const layerArray = this . computeLayers ( layers ) ; const gradientsArray = this . computeGradients ( layers ) ; const fontsArray = this . computeFonts ( fonts ) ; return ( < div className = "card" ref = "svg" style = { { maxWidth : card . width , maxHeight : card . height } } > < SVG height = { card . height } width = { card . width } fill = { card . fill } > < defs > { fontsArray } { gradientsArray } < / defs > { layerArray } < / SVG > < / div > ) ; }
Renders the card
 @return {object} JSX for the React Component
Renders the card @return { object } JSX for the React Component
// Grab our configuration // Compute layers, gradients and fonts // Return