(function(blocks) {
  "use strict";
  blocks.registerBlockVariation("core/buttons", {
    name: "bookiflex/booking-button",
    title: "Booking Button",
    description: "Button that opens the BookiFlex booking widget.",
    keywords: ["booking", "widget", "bookiflex"],
    category: "bookiflex",
    isDefault: false,
    innerBlocks: [
      ["core/button", { text: "Book Now", className: "open-bflex-widget" }]
    ],
    scope: ["inserter", "transform"]
  });
})(wp.blocks);
