React wrapper for the Web Component from
@dusrel/image-crop. The ref gives you the element itself
(.value, .setCrop(), .zoomIn(), …). Attributes are set
imperatively, so behaviour is identical on React 18 and 19,
and the element module is imported lazily inside an effect —
importing this component during SSR is safe.
React wrapper for the Web Component from
@dusrel/image-crop. The ref gives you the element itself
(
.value,.setCrop(),.zoomIn(), …). Attributes are set imperatively, so behaviour is identical on React 18 and 19, and the element module is imported lazily inside an effect — importing this component during SSR is safe.