├── .npmignore
├── GiftedSpinner.js
├── LICENSE
├── README.md
└── package.json
/.npmignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/FaridSafi/react-native-gifted-spinner/4fb88d5304ce7c7883845f4aff91b5a1b72f4b71/.npmignore
--------------------------------------------------------------------------------
/GiftedSpinner.js:
--------------------------------------------------------------------------------
1 | import React, { Component } from 'react';
2 | import { ActivityIndicator } from 'react-native';
3 |
4 | export default class GiftedSpinner extends Component {
5 | render() {
6 | return (
7 |
12 | );
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 Farid from Safi
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Gifted Spinner
2 |
3 | This component is now deprecated. Use [ActivityIndicator](https://facebook.github.io/react-native/docs/activityindicator.html) instead.
4 |
5 | ### Installation
6 |
7 | `npm install react-native-gifted-spinner --save`
8 |
9 | ### Example
10 |
11 | ```javascript
12 | import React, { Component } from 'react';
13 | import GiftedSpinner from 'react-native-gifted-spinner';
14 |
15 | export default class Example extends Component {
16 | render() {
17 | return (
18 |
19 | );
20 | }
21 | }
22 | ```
23 |
24 | ### License
25 |
26 | [MIT](LICENSE)
27 |
28 | Feel free to ask me questions on Twitter [@FaridSafi](https://www.twitter.com/FaridSafi) !
29 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "react-native-gifted-spinner",
3 | "version": "0.1.0",
4 | "description": "ActivityIndicator wrapper. Circular loading indicator",
5 | "main": "GiftedSpinner.js",
6 | "scripts": {
7 | "test": "echo \"Error: no test specified\" && exit 1"
8 | },
9 | "repository": {
10 | "type": "git",
11 | "url": "git+https://github.com/FaridSafi/react-native-gifted-spinner.git"
12 | },
13 | "keywords": [
14 | "spinner",
15 | "loader",
16 | "react-component",
17 | "react-native",
18 | "ios",
19 | "android"
20 | ],
21 | "author": "Farid from Safi",
22 | "license": "MIT",
23 | "bugs": {
24 | "url": "https://github.com/FaridSafi/react-native-gifted-spinner/issues"
25 | },
26 | "homepage": "https://github.com/FaridSafi/react-native-gifted-spinner#readme"
27 | }
28 |
--------------------------------------------------------------------------------