<?php

namespace Drupal\dc_react\Plugin\Block;

use Drupal\Core\Block\BlockBase;

/**
 * Provides a React app block.
 *
 * @Block(
 *   id = "react_block",
 *   admin_label = @Translation("React Block"),
 *   category = @Translation("React"),
 * )
 */
class ReactBlock extends BlockBase {

  /**
   * {@inheritdoc}
   */
  public function build() {
    $build = [
      '#theme' => 'react_block',
    ];

    return $build;
  }

}
