From e8570f43dd97b74714321c6fb97d627e5f98ab43 Mon Sep 17 00:00:00 2001 From: Oluwatobi Sofela <60105594+oluwatobiss@users.noreply.github.com> Date: Tue, 16 Jul 2024 15:39:08 +0100 Subject: [PATCH] docs: Delete uniqueName prop --- README.md | 29 +++++------------------------ package.json | 2 +- 2 files changed, 6 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index c58e153..a147928 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # React YouTube Playlist -An easy-to-use and responsive React component for displaying YouTube playlists on a web app. Create a beautiful gallery of YouTube videos. +A simple, easy-to-use, and responsive playlist component with a lightbox for displaying a beautiful gallery of YouTube videos in React apps. ![npm](https://img.shields.io/npm/v/@codesweetly/react-youtube-playlist) ![NPM](https://img.shields.io/npm/l/@codesweetly/react-youtube-playlist) @@ -40,7 +40,6 @@ function App() { ); } @@ -78,21 +77,6 @@ function App() { **Note:** A playlist's ID is the list of characters after the **"list="** in the [URL](https://codesweetly.com/web-address-url)—for instance, `https://www.youtube.com/playlist?list=playlistID`. - - - -uniqueName -string -undefined - - -**(Required)** A unique name for the `` instance. - -**Note:** - -- No two `` on a single page must have the same name. -- Use the [HTML `id` attribute's naming convention](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id) for the `uniqueName` props. - @@ -133,13 +117,10 @@ The `YouTubePlaylist` package works _only_ as a Client Component because it uses npm run build ``` -## Dependencies - -- [fslightbox-react](https://github.com/banthagroup/fslightbox-react) -- [prop-types](https://github.com/facebook/prop-types) -- [react](https://github.com/facebook/react) -- [react-loader-spinner](https://github.com/mhnpd/react-loader-spinner) - ## Demo https://codesweetly.com/react-youtube-playlist + +## Support + +🍵 [Buy me a coffee](https://www.buymeacoffee.com/codesweetly) diff --git a/package.json b/package.json index 3f64242..ce521ea 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,6 @@ "typescript": "^5.5.3" }, "peerDependencies": { - "react": "^18.2.0" + "react": "^18.3.1" } }