From 9dab9e2e8eb1d19242fd11bed9c3994bde5b828f Mon Sep 17 00:00:00 2001 From: Bashamega Date: Sat, 24 Aug 2024 13:37:21 +0300 Subject: [PATCH 1/5] readme fix --- readme.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/readme.md b/readme.md index 9808d66..7530324 100644 --- a/readme.md +++ b/readme.md @@ -33,30 +33,30 @@ To use the `Banner` component in your React project: 1. **Import the Component:** ```tsx - import Banner from 'banner-component'; + import Banner from 'free-ps-banner'; import React from 'react'; ``` 2. **Add the Component to Your JSX:** - ```tsx - function App() { - return ( -
- -
- ); - } - - export default App; - ``` +```tsx +function App() { + return ( +
+ +
+ ); +} + +export default App; +``` ## Props From 49684dba0339f1260d563b575bff022783999b54 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Sat, 24 Aug 2024 13:37:50 +0300 Subject: [PATCH 2/5] format --- readme.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/readme.md b/readme.md index 7530324..ed148c2 100644 --- a/readme.md +++ b/readme.md @@ -41,18 +41,18 @@ To use the `Banner` component in your React project: ```tsx function App() { - return ( -
- -
- ); + return ( +
+ +
+ ); } export default App; From bcddef5a0d8cbd0787c59e76ae4c02dd83c3f6e6 Mon Sep 17 00:00:00 2001 From: Adam Basha <110662505+Bashamega@users.noreply.github.com> Date: Sat, 24 Aug 2024 13:40:09 +0300 Subject: [PATCH 3/5] Update readme.md --- readme.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/readme.md b/readme.md index ed148c2..ff91e8c 100644 --- a/readme.md +++ b/readme.md @@ -41,18 +41,18 @@ To use the `Banner` component in your React project: ```tsx function App() { - return ( -
- -
- ); + return ( +
+ +
+ ); } export default App; From 78e284a71ce535794274f87fb529af9b7a5d9f90 Mon Sep 17 00:00:00 2001 From: Bashamega Date: Sat, 24 Aug 2024 14:01:23 +0300 Subject: [PATCH 4/5] fix --- src/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 93ec368..4dc68a4 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1 +1,2 @@ -export * from './components/banner'; +import Banner from "./components/banner/Banner"; +export default Banner \ No newline at end of file From 38a21415036435cf8643d530aee82fa7c45a97fa Mon Sep 17 00:00:00 2001 From: Bashamega Date: Sat, 24 Aug 2024 14:01:30 +0300 Subject: [PATCH 5/5] bump version --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index c714d01..eea9ff4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "free-ps-banner", - "version": "0.0.0", + "version": "0.0.2", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index eafebd2..8dc2c20 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "free-ps-banner", - "version": "0.0.1", + "version": "0.0.2", "private": false, "description": "A JavaScript library that makes it easy to a free Palestine banner in your react web app", "author": "Adam Basha",