(function (wp) {
  const { registerBlockType } = wp.blocks;
  const { useBlockProps } = wp.blockEditor;

  registerBlockType("fjord/slider-2-home", {
    edit: () => {
      const blockProps = useBlockProps({ className: "fjord-favorites" });
      return wp.element.createElement(
        "div",
        blockProps,
        wp.element.createElement(
          "div",
          {
            style: {
              border: "1px dashed rgba(14,16,17,0.25)",
              borderRadius: "12px",
              padding: "24px",
              textAlign: "center",
              color: "rgba(14,16,17,0.6)",
              fontSize: "13px",
            },
          },
          "Nordie Slider 2 Home renders on the front-end."
        )
      );
    },
    save: () => null,
  });
})(window.wp);
