UNPKG

@payfit/unity-components

Version:

17 lines (16 loc) 584 B
import { IconButton as e } from "../../../../components/icon-button/IconButton.js"; import { forwardRef as t } from "react"; import { jsx as n } from "react/jsx-runtime"; import { createLink as r } from "@tanstack/react-router"; //#region src/integrations/tanstack-router/components/icon-button/IconButtonLink.tsx var i = t(({ disabled: t, isDisabled: r, ...i }, a) => /* @__PURE__ */ n(e, { ...i, ref: a, as: "link", isDisabled: !!(t || r) })); i.displayName = "IconButtonLinkAdapter"; var a = r(i); a.displayName = "IconButtonLink"; //#endregion export { a as IconButtonLink };