UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
📝 docs: update docs
Dillion Verma44ccadb8d8e4
diff --git a/content/components/tweet-card.mdx b/content/components/tweet-card.mdxindex dc94509f..c50961bd 100644--- a/content/components/tweet-card.mdx+++ b/content/components/tweet-card.mdx@@ -66,7 +66,7 @@ To render on server side using RSC (Next.js 13):```tsximport { TweetCard } from "components/magicui/tweet-card.tsx";-function App() {+export default async function App() {return <TweetCard id="1441032681968212480" />;}```@@ -77,7 +77,7 @@ To render on client side:"use client";import { ClientTweetCard } from "components/magicui/client-tweet-card.tsx";-function App() {+export default function App() {return <ClientTweetCard id="1441032681968212480" />;}```diff --git a/registry/components/example/tweet-card-demo.tsx b/registry/components/example/tweet-card-demo.tsxindex c737e86f..479578bf 100644--- a/registry/components/example/tweet-card-demo.tsx+++ b/registry/components/example/tweet-card-demo.tsx@@ -1,5 +1,5 @@import TweetCard from "@/registry/components/magicui/tweet-card";-export default function TweetDemo() {+export default async function TweetDemo() {return <TweetCard id="1668408059125702661" />;}