Skip to content

Instantly share code, notes, and snippets.

View Steravy's full-sized avatar
🎯
Focus mode ON

Stefan Victoria Steravy

🎯
Focus mode ON
View GitHub Profile
@Steravy
Steravy / youtube-channel.tsx
Created April 11, 2024 14:34 — forked from steven-tey/youtube-channel.tsx
YoutubeChannel RSC
import { BlurImage, YouTube } from "@dub/ui";
import { nFormatter } from "@dub/utils";
import { Eye, UserCheck, Video } from "lucide-react";
import { Suspense } from "react";
export function YoutubeChannel({ id }: { id: string }) {
return (
<Suspense fallback={<div className="not-prose grid gap-4"></div>}>
<YoutubeChannelRSC id={id} />
</Suspense>