Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

docs(highlighter): add isView prop with default false (#759)

Corede70af37232460
diff --git a/content/docs/components/highlighter.mdx b/content/docs/components/highlighter.mdx
index a1f6d88d..db931274 100644
--- a/content/docs/components/highlighter.mdx
+++ b/content/docs/components/highlighter.mdx
@@ -72,6 +72,7 @@ Here's the updated props table with units specified for the numerical values:
| `iterations` | `number` | `2` | Number of times to draw the annotation (adds a sketchy effect when > 1). |
| `padding` | `number` | `2px` | Padding between the element and the annotation. |
| `multiline` | `boolean` | `true` | Whether to annotate across multiple lines or treat content as a single line. |
+| `isView` | `boolean` | `false` | Controls whether the animation starts only when the element enters viewport. |
## Credits