/**
 * WordPress dependencies.
 */
import {
  BlockConfiguration,
  registerBlockType,
  registerBlockVariation,
} from "@wordpress/blocks";

/**
 * Internal dependencies.
 */
import { Edit } from "./edit";
import { Save } from "./save";
const blockConfig: BlockConfiguration = require("./block.json");


registerBlockType(blockConfig, {
  edit({ attributes, setAttributes }: any) {
    return Edit({ attributes, setAttributes });
  },
  save({ attributes }: { attributes: any }) {
    return Save({ attributes });
  },
});
