Files
zeekay 57161c0902 fix: Add missing props to component demos for static export
- video-player: Add sources array and poster
- avatar-group: Add items array with sample avatars
- choicebox: Add options array with sample choices
- menu-dock: Add items array with icons from lucide-react

These demos were missing required props which caused static
export to fail. All demos now have proper sample data.
2025-11-03 22:07:31 -08:00

10 lines
738 B
JSON

{
"name": "video-player-demo",
"files": [
{
"name": "video-player-demo.tsx",
"content": "import { VideoPlayer } from \"@/registry/default/ui/video-player\"\n\nexport default function VideoPlayerDemo() {\n const videoSources = [\n {\n src: \"https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4\",\n type: \"video/mp4\",\n quality: \"720p\",\n },\n ]\n\n return (\n <div className=\"w-full min-h-[400px] flex items-center justify-center\">\n <VideoPlayer\n sources={videoSources}\n poster=\"https://peach.blender.org/wp-content/uploads/title_anouncement.jpg?x11217\"\n />\n </div>\n )\n}\n"
}
],
"type": "components:example"
}