Optional boundsreact-rnd bounds on the highlight area.
Optional deleteCustom delete icon. Replaces the default trash icon.
Optional dragCustom drag icon. Replaces the default 6-dot grid icon.
The highlight to be rendered as a DrawingHighlight. The highlight.content.image should contain the drawing as a PNG data URL.
Optional isHas the highlight been auto-scrolled into view?
Optional styleCustom styling for the container.
Optional onA callback triggered whenever the highlight position or size changes.
The updated highlight area.
Optional onOptional onOptional onOptional onOptional onCallback when drawing style changes (color or stroke width). The newImage is the re-rendered PNG data URL with updated styles. The newStrokes contain the updated stroke data.
The props type for DrawingHighlight.