"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
require("react");
require("clsx");
const useProps = require("../../../core/MantineProvider/use-props/use-props.cjs");
const Box = require("../../../core/Box/Box.cjs");
const factory = require("../../../core/factory/factory.cjs");
const Pagination_context = require("../Pagination.context.cjs");
const Pagination_icons = require("../Pagination.icons.cjs");
const Pagination_module_css = require("../Pagination.module.css.cjs");
const defaultProps = {
  icon: Pagination_icons.PaginationDotsIcon
};
const PaginationDots = factory.factory((_props, ref) => {
  const props = useProps.useProps("PaginationDots", defaultProps, _props);
  const { classNames, className, style, styles, vars, icon, ...others } = props;
  const ctx = Pagination_context.usePaginationContext();
  const Icon = icon;
  return /* @__PURE__ */ jsxRuntime.jsx(Box.Box, { ref, ...ctx.getStyles("dots", { className, style, styles, classNames }), ...others, children: /* @__PURE__ */ jsxRuntime.jsx(
    Icon,
    {
      style: {
        width: "calc(var(--pagination-control-size) / 1.8)",
        height: "calc(var(--pagination-control-size) / 1.8)"
      }
    }
  ) });
});
PaginationDots.classes = Pagination_module_css.default;
PaginationDots.displayName = "@mantine/core/PaginationDots";
exports.PaginationDots = PaginationDots;
