"use client";
const require_runtime = require("../../../_virtual/_rolldown/runtime.cjs");
let react = require("react");
react = require_runtime.__toESM(react);
//#region packages/@mantine/core/src/core/utils/get-ref-prop/get-ref-prop.ts
function getRefProp(element) {
	const version = react.default.version;
	if (typeof react.default.version !== "string") return element?.ref;
	if (version.startsWith("18.")) return element?.ref;
	return element?.props?.ref;
}
//#endregion
exports.getRefProp = getRefProp;

//# sourceMappingURL=get-ref-prop.cjs.map