UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: update animated beam docs
Dillion Vermab77f8c2669c5
diff --git a/content/docs/components/animated-beam.mdx b/content/docs/components/animated-beam.mdxindex 0c6e52c3..ea7627ab 100644--- a/content/docs/components/animated-beam.mdx+++ b/content/docs/components/animated-beam.mdx@@ -41,43 +41,6 @@ npx magicui-cli add animated-beam</Tabs>-## Usage--To create an animated beam, you need a container element with a ref, and two elements with refs that the beam will travel between.--```tsx-"use client";--import { AnimatedBeam } from "@/components/magicui/animated-beam";--export default function AnimatedBeamDemo() {- const containerRef = useRef<HTMLDivElement>(null);- const div1Ref = useRef<HTMLDivElement>(null);- const div2Ref = useRef<HTMLDivElement>(null);-- return (- <div- ref={containerRef}- className="relative flex h-full w-full justify-between"- >- <AnimatedBeam- containerRef={containerRef}- fromRef={div1Ref}- toRef={div2Ref}- />- <div- ref={div1Ref}- className="z-10 h-10 w-10 rounded-full bg-white shadow-xl"- />- <div- ref={div2Ref}- className="z-10 h-10 w-10 rounded-full bg-white shadow-xl"- />- </div>- );-}-```-## Examples### Animated Beam Uni-Directional