Optional boundsreact-rnd bounds on the highlight area.
Optional colorCustom color presets for the style panel.
Optional deleteCustom delete icon. Replaces the default trash icon.
Optional endFor arrows: end point as percentage of bounding box (0-1).
The highlight to be rendered as a ShapeHighlight.
Optional isHas the highlight been auto-scrolled into view?
Optional shapeThe type of shape to render.
"rectangle"
Optional startFor arrows: start point as percentage of bounding box (0-1).
Optional strokeStroke color for the shape.
"#000000"
Optional strokeStroke width for the shape.
2
Optional styleCustom styling for the container.
Optional styleCustom style icon. Replaces the default palette icon.
Optional onA callback triggered whenever the highlight position or size changes.
The updated highlight area.
Optional onOptional onOptional onOptional onOptional onCallback triggered when the style changes.
The props type for ShapeHighlight.