UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: scratch to reveal prop typo (#587)
Maciej Sykułac60daf9fa69b
diff --git a/content/docs/components/scratch-to-reveal.mdx b/content/docs/components/scratch-to-reveal.mdxindex 851f868f..aa42a6be 100644--- a/content/docs/components/scratch-to-reveal.mdx+++ b/content/docs/components/scratch-to-reveal.mdx@@ -47,7 +47,7 @@ npx shadcn@latest add "https://magicui.design/r/scratch-to-reveal"| `height` | `number` | `-` | Height of the scratch container. || `minScratchPercentage` | `number` | `50` | Minimum percentage of scratched area to be considered as completed (Value between 0 and 100). || `children` | `node` | `-` | The content to display in the marquee. |-| `onCompete` | `function` | `-` | Callback function called when scratch is completed |+| `onComplete` | `function` | `-` | Callback function called when scratch is completed || `gradientColors` | `string[]` | `-` | Gradient colors for the scratch effect. |## Credits