From 812c01e51899d90933c24ebf6eb97a01c2bb1ed0 Mon Sep 17 00:00:00 2001 From: Damien Ostler Date: Sun, 26 May 2024 18:21:18 -0400 Subject: [PATCH] chore:readme --- README.md | 3 +++ components/ui/gallery_thumbnail.tsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b9572b..8db4f2a 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,9 @@ The `GalleryThumbnail` component is a React component used to display a thumbnai - `id` (string): The ID of the gallery to fetch the thumbnail for. - `onSelect` (function): A function to be called when the thumbnail is clicked. The gallery ID is passed as an argument. +- `title` (string) : The name of the gallery. +- `subscription` (subscription) : The name of the subscription required for the gallery. + ### State - `galleryId` (string): A state to store the gallery ID. diff --git a/components/ui/gallery_thumbnail.tsx b/components/ui/gallery_thumbnail.tsx index 8901b50..7f9df7c 100644 --- a/components/ui/gallery_thumbnail.tsx +++ b/components/ui/gallery_thumbnail.tsx @@ -46,7 +46,7 @@ const GalleryThumbnail = ({ id, columns, onSelect, title, subscription }: Galler onClick={openGallery} style={{ width: '20rem', height: '20rem', objectFit: 'cover' }} /> -
+