An optional className to provide to the <span>
.
Boolean if the highlighting functionality should be enabled. Setting this
to false will just return the children
instead.
An optional id to use for the <span>
. This will be suffixed by the
current index
if it was provided
The match index which is automatically added when the repeatable
prop is
used for nested matches.
Boolean if the highlighting can be repeated multiple times within the children string.
An optional style to provide to the <span>
.
The current value to match against.
Generated using TypeDoc
The children to highlight. If this is not a string, the highlight will not work.