Socket
Socket
Sign inDemoInstall

radio-button-react-native

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.6 to 1.1.6

3

index.js

@@ -15,2 +15,3 @@ import React,{Component} from 'react';

<TouchableWithoutFeedback onPress={() => this.props.onPress(this.props.value)}>
<View style={{flexDirection:'row'}}>
<View style={[{

@@ -36,2 +37,4 @@ height: this.props.outerCircleSize || 24,

</View>
{this.props.children}
</View>
</TouchableWithoutFeedback>

@@ -38,0 +41,0 @@ );

2

package.json
{
"name": "radio-button-react-native",
"version": "1.0.6",
"version": "1.1.6",
"description": "Simple Radio Button for React Native.",

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

@@ -39,5 +39,14 @@ # radio-button-react-native

<View>
<RadioButton currentValue={this.state.value} value={0} onPress={this.handleOnPress.bind(this)}/>
<RadioButton currentValue={this.state.value} value={1} onPress={this.handleOnPress.bind(this)}/>
<RadioButton currentValue={this.state.value} value={2} onPress={this.handleOnPress.bind(this)}/>
<RadioButton currentValue={this.state.value} value={0} onPress={this.handleOnPress.bind(this)}>
<Text>Button1</Text>
</RadioButton>
<RadioButton currentValue={this.state.value} value={1} onPress={this.handleOnPress.bind(this)}>
<Text>Button2</Text>
</RadioButton>
<RadioButton currentValue={this.state.value} value={2} onPress={this.handleOnPress.bind(this)}>
<Text>Button3</Text>
</RadioButton>
</View>

@@ -44,0 +53,0 @@ );

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc