Files
NapCatQQ/.pnpm-store/v3/files/e3/128e1eb0fc9791d818923c5b9ff13eed7e11d86c48d953afc926d92f6182d1606d0d3b5520222acc2bb324da522b2584d5644acd4c787c86bbea2a15710f13
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

26 lines
890 B
Plaintext

"use client";
import {
useNavbarContext
} from "./chunk-IGERPFKH.mjs";
// src/navbar-brand.tsx
import { forwardRef } from "@heroui/system";
import { useDOMRef } from "@heroui/react-utils";
import { clsx } from "@heroui/shared-utils";
import { jsx } from "react/jsx-runtime";
var NavbarBrand = forwardRef((props, ref) => {
var _a;
const { as, className, children, ...otherProps } = props;
const Component = as || "div";
const domRef = useDOMRef(ref);
const { slots, classNames } = useNavbarContext();
const styles = clsx(classNames == null ? void 0 : classNames.brand, className);
return /* @__PURE__ */ jsx(Component, { ref: domRef, className: (_a = slots.brand) == null ? void 0 : _a.call(slots, { class: styles }), ...otherProps, children });
});
NavbarBrand.displayName = "HeroUI.NavbarBrand";
var navbar_brand_default = NavbarBrand;
export {
navbar_brand_default
};