Highlight and mark
Highlight
Use EuiHighlight to highlight substrings within a string, typically in response to user input.
Loading...
Mark
Use EuiMark to wrap a string in a
mark
element.
Loading...
Props
EuiHighlight
Extends HTMLAttributes
Prop | Description and type | Default value |
---|---|---|
Prop search# | Description and type What to search for. Allows passing an array of strings (searching by multiple separate string | string[] | Default value Required |
Prop className# | Description and type Type: string |