Gathering detailed insights and metrics for @rn-components-kit/rating
Gathering detailed insights and metrics for @rn-components-kit/rating
Gathering detailed insights and metrics for @rn-components-kit/rating
Gathering detailed insights and metrics for @rn-components-kit/rating
npm install @rn-components-kit/rating
Typescript
Module System
Node Version
NPM Version
70.3
Supply Chain
98.1
Quality
74.8
Maintenance
100
Vulnerability
100
License
HTML (70.39%)
JavaScript (28.59%)
Objective-C (0.55%)
Starlark (0.27%)
Java (0.2%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
76 Stars
71 Commits
16 Forks
2 Watchers
1 Branches
2 Contributors
Updated on Jan 08, 2024
Latest Version
1.0.1
Package Id
@rn-components-kit/rating@1.0.1
Unpacked Size
11.60 kB
Size
3.57 kB
File Count
5
NPM Version
5.6.0
Node Version
8.9.4
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
English | 中文
Ratings are used to collect measurable feedback from users. It supports the following features:
touch
and move
operationtype
, color
, size
)1npm install @rn-components-kit/rating --save
Preview | Code |
---|---|
![]() | Demo1 Code |
![]() | Demo2 Code |
![]() | Demo3 Code |
style
step
total
value
iconGap
iconSize
disabled
activeIconType
activeIconColor
inActiveIconType
inActiveIconColor
onValueChange
style
Allows you to customize style
Type | Required | Default |
---|---|---|
object | no | - |
step
The granularity that Rating can step through values
Type | Required | Default |
---|---|---|
enum(0.1 , 0.2 , 0.5 , 1 ) | no | 1 |
total
Count of star
Type | Required | Default |
---|---|---|
number | no | 5 |
value
Current count of active star
Type | Required | Default |
---|---|---|
number | no | 0 |
iconGap
Space between stars
Type | Required | Default |
---|---|---|
number | no | 4 |
iconSize
Size of star icon
Type | Required | Default |
---|---|---|
number | no | 20 |
disabled
Determines whether value can be changed
Type | Required | Default |
---|---|---|
boolean | no | false |
activeIconType
Icon type when it is active
Type | Required | Default |
---|---|---|
enum value | no | 'star-fill' |
activeIconColor
Icon color when it is active
Type | Required | Default |
---|---|---|
string | no | '#FADB14' |
inActiveIconType
Icon type when it is inactive
Type | Required | Default |
---|---|---|
enum value | no | 'star-fill' |
inActiveIconColor
Icon color when it is inactive
Type | Required | Default |
---|---|---|
string | no | '#E8E8E8' |
onValueChange
1(value: number) => void
A callback will be triggered when Rating's value changes
Type | Required | Default |
---|---|---|
function | no | () => {} |
No vulnerabilities found.
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
Found 1/29 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More