const React = require("react");

const Cropper = ({ onCropComplete }) => {
	React.useEffect(() => {
		if (onCropComplete) {
			onCropComplete({}, { x: 0, y: 0, width: 100, height: 100 });
		}
	}, []);
	return React.createElement("div", { "data-testid": "cropper-mock" });
};

module.exports = {
	__esModule: true,
	default: Cropper,
};
