import { cs } from "../utils/styles.js";
import "../utils/index.js";
import { useStyleConfig } from "../core/theme.js";
import { vui } from "../core/vui.js";
import "../core/index.js";
import { useListContext } from "./context.js";
import divider_default from "../divider/divider.js";
import "../divider/index.js";
import { jsx } from "react/jsx-runtime";

//#region src/list/listDivider.tsx
/** Displays a divider line within the List. */
const ListDivider = vui((props, ref) => {
	const { className, ...rest } = props;
	const styles = useStyleConfig("List", useListContext());
	return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(divider_default, {
		className: cs("vui-listDivider", className),
		my: 1,
		ref,
		...styles.divider,
		...rest
	}) });
});
ListDivider.displayName = "ListDivider";
var listDivider_default = ListDivider;

//#endregion
export { ListDivider, listDivider_default as default };
globalThis.__vuiVersion__ = "4.0.0-beta.1"
//# sourceMappingURL=listDivider.js.map