@yannickbaze/star-rating 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +32 -31
package/README.md
CHANGED
|
@@ -20,13 +20,13 @@ Perfect for product reviews, feedback systems, and user ratings.
|
|
|
20
20
|
## 📦 Installation
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
npm install star-rating
|
|
23
|
+
npm install @yannickbaze/star-rating
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
or
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
yarn add star-rating
|
|
29
|
+
yarn add npm install @yannickbaze/star-rating
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
---
|
|
@@ -34,7 +34,7 @@ yarn add star-rating-react-component
|
|
|
34
34
|
## 🚀 Usage
|
|
35
35
|
|
|
36
36
|
```jsx
|
|
37
|
-
import StarRating from "star-rating
|
|
37
|
+
import StarRating from "@yannickbaze/star-rating";
|
|
38
38
|
|
|
39
39
|
function App() {
|
|
40
40
|
return (
|
package/package.json
CHANGED
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@yannickbaze/star-rating",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Reusable star rating component for React",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"files": [
|
|
7
|
-
"src",
|
|
8
|
-
"index.js",
|
|
9
|
-
"README.md"
|
|
10
|
-
],
|
|
11
|
-
"keywords": [
|
|
12
|
-
"react",
|
|
13
|
-
"star-rating",
|
|
14
|
-
"rating-component",
|
|
15
|
-
"ui",
|
|
16
|
-
"react-component"
|
|
17
|
-
],
|
|
18
|
-
"author": "Yannick Baze",
|
|
19
|
-
"license": "MIT",
|
|
20
|
-
"peerDependencies": {
|
|
21
|
-
"react": "
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@yannickbaze/star-rating",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Reusable star rating component for React",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"src",
|
|
8
|
+
"index.js",
|
|
9
|
+
"README.md"
|
|
10
|
+
],
|
|
11
|
+
"keywords": [
|
|
12
|
+
"react",
|
|
13
|
+
"star-rating",
|
|
14
|
+
"rating-component",
|
|
15
|
+
"ui",
|
|
16
|
+
"react-component"
|
|
17
|
+
],
|
|
18
|
+
"author": "Yannick Baze",
|
|
19
|
+
"license": "MIT",
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"react": ">=16",
|
|
22
|
+
"react-dom": ">=16"
|
|
23
|
+
},
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://github.com/yannickbaze/star-rating.git"
|
|
27
|
+
},
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/yannickbaze/star-rating/issues"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://github.com/yannickbaze/star-rating#readme"
|
|
32
|
+
}
|