UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: update docs
Dillion Verma79622e3ea9c2
diff --git a/content/docs/components/text-animate.mdx b/content/docs/components/text-animate.mdxindex 85fef5fc..55d83728 100644--- a/content/docs/components/text-animate.mdx+++ b/content/docs/components/text-animate.mdx@@ -57,7 +57,6 @@ npx shadcn@latest add "https://magicui.design/r/text-animate"### Fade In by Line<ComponentPreview name="text-animate-demo-5" />-## Props| Prop | Type | Description | Default |@@ -65,9 +64,9 @@ npx shadcn@latest add "https://magicui.design/r/text-animate"| children | string | The text content to animate | || className | string | The class name to be applied to the component | || delay | number | Delay before animation starts | 0 |-| duration | number | Duration of the animation | 0.6 |+| duration | number | Duration of the animation | 0.3 || variants | Variants | Custom motion variants for the animation | |-| as | ElementType | The element type to render | "div" |+| as | ElementType | The element type to render | "p" || by | "text" \| "word" \| "character" \| "line" | How to split the text ("text", "word", "character") | "word" |-| startOnView | boolean | Whether to start animation when component enters viewport | false |+| startOnView | boolean | Whether to start animation when component enters viewport | true || animation | AnimationVariant | The animation preset to use | "fadeIn" |