React Text Annotations
Examples
1. Hello world2. Basic example3. UI Options4. Scroll example
Props

Scroll example

You can ask the component to automatically scroll to a specific location:

  • scrollToFirstAnnotation is a boolean that will pick the first annotation when it exists.
  • scrollToChar maps to a specific character offset. It has priority over the previous parameter and can give more control.