Files
supabase/apps/ui-library/registry/default/examples/realtime-avatar-stack-preview.tsx
Ivan Vasilov a0dc96d1a4 fix: Add previews for the new components on the main page (#34493)
Add previews for the new components on the main page.
2025-03-28 09:47:08 +10:00

16 lines
422 B
TypeScript

// 'use client'
import { AvatarStack } from '@/registry/default/blocks/realtime-avatar-stack/components/avatar-stack'
import { users } from './utils'
const avatars = users.filter(
(u) =>
u.name === 'Mark S.' || u.name === 'Helly R.' || u.name === 'Irving B.' || u.name === 'Dylan G.'
)
const CurrentUserAvatarPreview = () => {
return <AvatarStack avatars={avatars} />
}
export default CurrentUserAvatarPreview