Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-simple-twitter

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-simple-twitter - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

extras/demo.gif

2

package.json
{
"name": "react-native-simple-twitter",
"version": "1.0.2",
"version": "1.0.3",
"description": "Twitter API client for React Native",

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

@@ -25,2 +25,4 @@ # React-Native-Simple-Twitter

![demo gif](extras/demo.gif)
## Usage

@@ -179,3 +181,3 @@ ```js

```
Checkout [example](https://github.com/watanabeyu/react-native-simple-twitter/tree/v1.0.x/example).
Checkout [example](example).

@@ -182,0 +184,0 @@ ## TWLoginButton props

@@ -9,3 +9,5 @@ import React from 'react';

StyleSheet,
SafeAreaView
SafeAreaView,
Platform,
Dimensions
} from 'react-native';

@@ -16,2 +18,5 @@

/* dimensions */
const { height, width } = Dimensions.get('window')
export default class TWLoginButton extends React.Component {

@@ -99,7 +104,7 @@ constructor(props) {

</View>
<Modal visible={this.state.isVisible} animationType="slide">
<Modal visible={this.state.isVisible} animationType="slide" onRequestClose={() => { }}>
<SafeAreaView style={[styles.safeArea, { backgroundColor: this.props.headerColor }]}>
<View style={[styles.modalHeader, { backgroundColor: this.props.headerColor }, this.props.headerStyle]}>
<TouchableOpacity onPress={this.onClosePress} style={[styles.closeButton, this.props.closeStyle]}>
<Text style={[styles.closeButtonText, this.props.closeTextStyle]}>{this.props.closeLabel}</Text>
<Text style={[styles.closeButtonText, this.props.closeTextStyle]}>{this.props.closeText}</Text>
</TouchableOpacity>

@@ -134,3 +139,4 @@ </View>

flexDirection: "row",
justifyContent: "flex-start"
justifyContent: "flex-start",
paddingTop: (Platform.OS === "ios" && width === 414) ? 20 : 0
},

@@ -137,0 +143,0 @@ closeButton: {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc