Highlight

View Source

Pico Das Robot
Robots rule the world

Props

Themeable

Accepts Text props.

Use the highlight key in ThemeProvider to customize the default properties of this component.

colorstring

Color of the highlighted text

marker( text: string, query: string ) => Array<{ highlight: boolean; text: string }>

The algorithm used to mark the text, defaults to STARTS_WITH

querystring

The query to search for matches

textstring

The full string of text to be displayed