UNPKG

@prokodo/ui

Version:

UI components for production-grade Next.js + Headless CMS (Strapi, Contentful, Headless WordPress) websites by prokodo – built for Core Web Vitals & SEO.

15 lines (14 loc) 556 B
var __defProp = Object.defineProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); import { createIsland } from "../../helpers/createIsland.js"; import BaseLinkServer from "./BaseLink.server.js"; const isInteractive = /* @__PURE__ */ __name((p) => typeof p.linkComponent === "function", "isInteractive"); const BaseLink = createIsland({ name: "BaseLink", Server: BaseLinkServer, loadLazy: /* @__PURE__ */ __name(() => import("./BaseLink.lazy.js"), "loadLazy"), isInteractive }); export { BaseLink };