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

35 lines
997 B
Plaintext

"use client";
import {
useNavbarContext
} from "./chunk-IGERPFKH.mjs";
// src/navbar-content.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 NavbarContent = forwardRef((props, ref) => {
var _a;
const { as, className, children, justify = "start", ...otherProps } = props;
const Component = as || "ul";
const domRef = useDOMRef(ref);
const { slots, classNames } = useNavbarContext();
const styles = clsx(classNames == null ? void 0 : classNames.content, className);
return /* @__PURE__ */ jsx(
Component,
{
ref: domRef,
className: (_a = slots.content) == null ? void 0 : _a.call(slots, { class: styles }),
"data-justify": justify,
...otherProps,
children
}
);
});
NavbarContent.displayName = "HeroUI.NavbarContent";
var navbar_content_default = NavbarContent;
export {
navbar_content_default
};