From 9fe7eb58c5c2b8d05be5f2026d9b329718df6f2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Marius=20L=C3=B8set?= Date: Sun, 19 Nov 2023 21:19:56 +0100 Subject: [PATCH] fix: fix Artwork object in demo --- .../registry/default/example/ScrollAreaHorizontalDemo.vue | 6 +++++- .../registry/new-york/example/ScrollAreaHorizontalDemo.vue | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/apps/www/src/lib/registry/default/example/ScrollAreaHorizontalDemo.vue b/apps/www/src/lib/registry/default/example/ScrollAreaHorizontalDemo.vue index ee875e5c..d687c9a0 100644 --- a/apps/www/src/lib/registry/default/example/ScrollAreaHorizontalDemo.vue +++ b/apps/www/src/lib/registry/default/example/ScrollAreaHorizontalDemo.vue @@ -2,20 +2,24 @@ import { ScrollArea, ScrollBar } from '@/lib/registry/default/ui/scroll-area' interface Artwork { + id: string artist: string art: string } const works: Artwork[] = [ { + id: '1', artist: 'Ornella Binni', art: 'https://images.unsplash.com/photo-1465869185982-5a1a7522cbcb?auto=format&fit=crop&w=300&q=80', }, { + id: '2', artist: 'Tom Byrom', art: 'https://images.unsplash.com/photo-1548516173-3cabfa4607e9?auto=format&fit=crop&w=300&q=80', }, { + id: '3', artist: 'Vladimir Malyavko', art: 'https://images.unsplash.com/photo-1494337480532-3725c85fd2ab?auto=format&fit=crop&w=300&q=80', }, @@ -30,7 +34,7 @@ const works: Artwork[] = [
diff --git a/apps/www/src/lib/registry/new-york/example/ScrollAreaHorizontalDemo.vue b/apps/www/src/lib/registry/new-york/example/ScrollAreaHorizontalDemo.vue index e3c9bb7f..13c8efcd 100644 --- a/apps/www/src/lib/registry/new-york/example/ScrollAreaHorizontalDemo.vue +++ b/apps/www/src/lib/registry/new-york/example/ScrollAreaHorizontalDemo.vue @@ -2,20 +2,24 @@ import { ScrollArea, ScrollBar } from '@/lib/registry/new-york/ui/scroll-area' interface Artwork { + id: string artist: string art: string } const works: Artwork[] = [ { + id: '1', artist: 'Ornella Binni', art: 'https://images.unsplash.com/photo-1465869185982-5a1a7522cbcb?auto=format&fit=crop&w=300&q=80', }, { + id: '2', artist: 'Tom Byrom', art: 'https://images.unsplash.com/photo-1548516173-3cabfa4607e9?auto=format&fit=crop&w=300&q=80', }, { + id: '3', artist: 'Vladimir Malyavko', art: 'https://images.unsplash.com/photo-1494337480532-3725c85fd2ab?auto=format&fit=crop&w=300&q=80', }, @@ -30,7 +34,7 @@ const works: Artwork[] = [