Gathering detailed insights and metrics for @rn-components-kit/radio
Gathering detailed insights and metrics for @rn-components-kit/radio
Gathering detailed insights and metrics for @rn-components-kit/radio
Gathering detailed insights and metrics for @rn-components-kit/radio
npm install @rn-components-kit/radio
Typescript
Module System
Node Version
NPM Version
69.7
Supply Chain
95
Quality
74.3
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.0
Package Id
@rn-components-kit/radio@1.0.0
Unpacked Size
12.85 kB
Size
3.43 kB
File Count
7
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 | 中文
Radio buttons allow users to select one option from a set. It supports following features:
1npm install @rn-components-kit/radio --save
Preview | Code |
---|---|
![]() | Demo1 Code |
![]() | Demo2 Code |
![]() | Demo3 Code |
![]() | Demo4 Code |
style
Allow you to customize style
Type | Required | Default |
---|---|---|
object | no | - |
defaultValue
Default value to speficy which radio button is selected initially
Type | Required | Default |
---|---|---|
any | no | - |
onValueChange
1(value: any) => void
Type | Required | Default |
---|---|---|
function | no | () => {} |
A callback will be triggered when selected value changes
style
value
title
titleStyle
iconSize
disabled
checked
checkedIconType
checkedIconColor
checkedImage
unCheckedIconType
unCheckedIconColor
unCheckedImage
animationType
onPress
style
Allow you to customize style
Type | Required | Default |
---|---|---|
object | no | - |
value
According to value for comparison, to determine whether the selected
Type | Required | Default |
---|---|---|
any | yes | - |
title
Title of radio button
Type | Required | Default |
---|---|---|
string | yes | - |
titleStyle
Allows you to customize title's style
Type | Required | Default |
---|---|---|
object | no | - |
iconSize
Size of icon (or width and height for image, if you specify checkedImage/unCheckedImage)
Type | Required | Default |
---|---|---|
number | no | 20 |
disabled
Determines whether radio button is available
Type | Required | Default |
---|---|---|
boolean | no | false |
checked
Flag for checking the icon
Type | Required | Default |
---|---|---|
boolean | no | false |
checkedIconType
Checked icon (Icon Preset)
Type | Required | Default |
---|---|---|
string | no | 'check-radio' |
checkedIconColor
Color of checked icon
Type | Required | Default |
---|---|---|
string | no | '#1890FF' |
checkedImage
If you are not satisfied with icon preset, you can specify an image for checked icon
Type | Required | Default |
---|---|---|
string | no | - |
unCheckedIconType
UnChecked icon (Icon Preset)
Type | Required | Default |
---|---|---|
string | no | 'circle' |
unCheckedIconColor
Color of unChecked icon
Type | Required | Default |
---|---|---|
string | no | '#BFBFBF' |
unCheckedImage
If you are not satisfied with icon preset, you can specify an image for unChecked icon
Type | Required | Default |
---|---|---|
string | no | - |
animationType
Determines which animation is adpoted when checked value changes
Type | Required | Default |
---|---|---|
enum('none' , 'opacity' , 'size' ) | no | 'size' |
onPress
1() => void
A callback will be triggered when radio button is pressed
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