New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-gifted-spinner

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-gifted-spinner - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

27

GiftedSpinner.js
'use strict'
var React = require('react');
import React, { Component, PropTypes } from 'react';
import { View, ProgressBarAndroid, Platform, ActivityIndicator } from 'react-native';
var {
View,
ActivityIndicatorIOS,
ProgressBarAndroid,
Platform
} = require('react-native');
var GiftedSpinner = React.createClass({
_getSpinner() {
export default class GiftedSpinner extends Component {
_getSpinner = () => {
if (Platform.OS === 'android') {

@@ -27,3 +20,3 @@ return (

return (
<ActivityIndicatorIOS
<ActivityIndicator
animating={true}

@@ -35,3 +28,3 @@ size="small"

}
},
}

@@ -44,7 +37,3 @@ render() {

);
},
});
module.exports = GiftedSpinner;
}
}
{
"name": "react-native-gifted-spinner",
"version": "0.0.4",
"version": "0.0.5",
"description": "Simple loading spinner that use React-Native ProgressBarAndroid or ActivityIndicatorIOS depending of the platform",

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

# react-native-gifted-spinner
#### This package is now deprecated. [ActivityIndicator](https://facebook.github.io/react-native/docs/activityindicator.html) should be used instead
Simple loading spinner that use React-Native ProgressBarAndroid or ActivityIndicatorIOS depending of the platform.

@@ -42,2 +46,2 @@

Feel free to ask me questions on Twitter [@FaridSafi](https://www.twitter.com/FaridSafi) !
Feel free to ask me questions on Twitter [@FaridSafi](https://www.twitter.com/FaridSafi) !
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