"use client";
let react = require("react");
//#region packages/@mantine/hooks/src/use-set-state/use-set-state.ts
function useSetState(initialState) {
	const [state, setState] = (0, react.useState)(initialState);
	return [state, (0, react.useCallback)((statePartial) => setState((current) => ({
		...current,
		...typeof statePartial === "function" ? statePartial(current) : statePartial
	})), [])];
}
//#endregion
exports.useSetState = useSetState;

//# sourceMappingURL=use-set-state.cjs.map