🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

radio-buttons-react-native-expo

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

radio-buttons-react-native-expo - npm Package Compare versions

Comparing version

to
1.1.0

2

package.json
{
"name": "radio-buttons-react-native-expo",
"version": "1.0.0",
"version": "1.1.0",
"description": "Animated radio buttons component for react native and Expo with accessibility",

@@ -5,0 +5,0 @@ "main": "RadioButtonRN.js",

@@ -119,3 +119,3 @@ import React from 'react';

let { activeIndex, fadeAnim, animations } = this.state;
let { boxStyle, style, circleSize, textStyle, data, icon, activeColor, deactiveColor, boxActiveBgColor, boxDeactiveBgColor, box, textColor } = this.props;
let { boxStyle, style, circleSize, textStyle, leftProductBoxStyle, centerProductBoxStyle, data, icon, activeColor, deactiveColor, boxActiveBgColor, boxDeactiveBgColor, box, textColor } = this.props;

@@ -142,3 +142,3 @@ return (

>
<View style={styles.leftProductBox}>
<View style={[styles.leftProductBox, leftProductBoxStyle]}>
<View style={[ icon ? styles.icon : styles.circle, {

@@ -177,3 +177,3 @@ borderColor: activeIndex === index ? activeColor : deactiveColor,

<View style={[styles.centerProductBox]}>
<View style={[styles.centerProductBox, centerProductBoxStyle]}>
<Text style={[{

@@ -243,2 +243,4 @@ color: textColor

textStyle: PropTypes.object,
leftProductBoxStyle: PropTypes.object,
centerProductBoxStyle: PropTypes.object,
initial: PropTypes.number,

@@ -264,2 +266,4 @@ circleSize: PropTypes.number,

textStyle: {},
leftProductBoxStyle: {},
centerProductBoxStyle: {},
initial: -1,

@@ -266,0 +270,0 @@ circleSize: 18,