"use client";
import { useProps } from "../../core/MantineProvider/use-props/use-props.mjs";
import { jsx } from "react/jsx-runtime";
import { NumericFormat } from "react-number-format";
//#region packages/@mantine/core/src/components/NumberFormatter/NumberFormatter.tsx
function NumberFormatter(_props) {
	const { value, defaultValue, ...others } = useProps("NumberFormatter", null, _props);
	if (value === void 0) return null;
	return /* @__PURE__ */ jsx(NumericFormat, {
		displayType: "text",
		value,
		...others
	});
}
const extendNumberFormatter = (c) => c;
NumberFormatter.extend = extendNumberFormatter;
NumberFormatter.displayName = "@mantine/core/NumberFormatter";
//#endregion
export { NumberFormatter };

//# sourceMappingURL=NumberFormatter.mjs.map