"use client";
import { t as e } from "../../chunks/clsx.js";
import { ArrowButton as t } from "../buttons/ArrowButton.js";
import { n } from "../../chunks/Carousel.context.js";
import { jsx as r } from "react/jsx-runtime";
//#region lib/ui/carousel/CarouselNext.tsx
var i = ({ className: i, label: a, onClick: o, ...s }) => {
	let { canScrollNext: c, scrollNext: l } = n();
	return /* @__PURE__ */ r(t, {
		icon: "ArrowDefaultRight",
		...s,
		className: e("pointer-events-auto", i),
		disabled: !c,
		onClick: (e) => {
			l(), o?.(e);
		},
		children: a
	});
};
//#endregion
export { i as CarouselNext };

//# sourceMappingURL=CarouselNext.js.map