Optional backgroundBackground color.
Optional backgroundCustom background color presets for the style panel. Default: ["#ffffc8", "#ffcdd2", "#c8e6c9", "#bbdefb", "#e1bee7"]
Optional boundsreact-rnd bounds on the highlight area.
Optional colorText color.
Optional deleteCustom delete icon. Replaces the default trash icon.
Optional dragCustom drag icon. Receives default icon as child if not provided.
Optional editCustom edit icon. Receives default icon as child if not provided.
Optional fontFont family.
Optional fontFont size (e.g., "14px").
The highlight to be rendered as a FreetextHighlight.
Optional isHas the highlight been auto-scrolled into view?
Optional styleCustom styling for the container.
Optional styleCustom style/settings icon. Receives default icon as child if not provided.
Optional textCustom text color presets for the style panel. Default: ["#333333", "#d32f2f", "#1976d2", "#388e3c", "#7b1fa2"]
Optional onA callback triggered whenever the highlight position changes (drag).
The updated highlight area.
Optional onOptional onOptional onOptional onOptional onA callback triggered whenever the style changes.
The new style options.
Optional on
The props type for FreetextHighlight.