Skip to content

Commit e8efa2b

Browse files
committed
Initial commit
0 parents  commit e8efa2b

File tree

20 files changed

+7859
-0
lines changed

20 files changed

+7859
-0
lines changed

.eslintrc

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"root": true,
3+
"extends": [
4+
"eslint:recommended",
5+
"plugin:react/recommended",
6+
"prettier",
7+
"prettier/react"
8+
],
9+
"plugins": ["react", "prettier"],
10+
"env": {
11+
"browser": true,
12+
"es6": true,
13+
"node": true
14+
},
15+
"settings": {
16+
"react": {
17+
"pragma": "React",
18+
"version": "16"
19+
}
20+
},
21+
"parser": "babel-eslint",
22+
"overrides": [
23+
{
24+
"files": ["**/*.ts", "**/*.tsx"],
25+
"extends": [
26+
"plugin:@typescript-eslint/recommended",
27+
"prettier/@typescript-eslint"
28+
],
29+
"plugins": ["@typescript-eslint", "react", "prettier"],
30+
"parser": "@typescript-eslint/parser",
31+
"rules": {
32+
"@typescript-eslint/explicit-function-return-type": 0,
33+
"@typescript-eslint/no-unused-vars": [
34+
"error",
35+
{ "argsIgnorePattern": "^_" }
36+
],
37+
"@typescript-eslint/no-inferrable-types": [
38+
"error",
39+
{ "ignoreParameters": true }
40+
]
41+
}
42+
}
43+
]
44+
}

.gitignore

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# OSX
2+
#
3+
.DS_Store
4+
5+
# Xcode
6+
#
7+
build/
8+
*.pbxuser
9+
!default.pbxuser
10+
*.mode1v3
11+
!default.mode1v3
12+
*.mode2v3
13+
!default.mode2v3
14+
*.perspectivev3
15+
!default.perspectivev3
16+
xcuserdata
17+
*.xccheckout
18+
*.moved-aside
19+
DerivedData
20+
*.hmap
21+
*.ipa
22+
*.xcuserstate
23+
project.xcworkspace
24+
25+
# Android/IJ
26+
#
27+
*.iml
28+
.idea
29+
.gradle
30+
local.properties
31+
32+
# node.js
33+
#
34+
node_modules/
35+
npm-debug.log
36+
package-lock.json
37+
38+
# vscode
39+
jsconfig.json
40+
.project
41+
.vscode
42+
43+
# BUCK
44+
buck-out/
45+
bin/
46+
\.buckd/
47+
android/app/libs
48+
android/keystores/debug.keystore
49+
50+
# generated by bob
51+
lib/

.prettierrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"singleQuote": true,
3+
"tabWidth": 2,
4+
"trailingComma": "es5",
5+
"useTabs": false,
6+
"semi": false
7+
}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# React Native Animated SpinKit
2+
3+
A pure JavaScript port of [SpinKit](https://github.com/tobiasahlin/SpinKit) for React Native.

example/.expo-shared/assets.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"f9155ac790fd02fadcdeca367b02581c04a353aa6d5aa84409a59f6804c87acd": true,
3+
"89ed26367cdb9b771858e026f2eb95bfdb90e5ae943e716575327ec325f39c44": true
4+
}

example/.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
node_modules/**/*
2+
.expo/*
3+
npm-debug.*
4+
*.jks
5+
*.p8
6+
*.p12
7+
*.key
8+
*.mobileprovision
9+
*.orig.*
10+
web-build/
11+
web-report/
12+
13+
# macOS
14+
.DS_Store

example/App.tsx

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import React from 'react'
2+
import { StyleSheet, View } from 'react-native'
3+
import { Plane } from 'react-native-animated-spinkit'
4+
5+
export default function App() {
6+
return (
7+
<View style={styles.container}>
8+
<Plane />
9+
</View>
10+
)
11+
}
12+
13+
const styles = StyleSheet.create({
14+
container: {
15+
flex: 1,
16+
backgroundColor: '#fff',
17+
alignItems: 'center',
18+
justifyContent: 'center',
19+
},
20+
})

example/app.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"expo": {
3+
"name": "example",
4+
"slug": "example",
5+
"privacy": "public",
6+
"sdkVersion": "35.0.0",
7+
"platforms": [
8+
"ios",
9+
"android",
10+
"web"
11+
],
12+
"version": "1.0.0",
13+
"orientation": "portrait",
14+
"icon": "./assets/icon.png",
15+
"splash": {
16+
"image": "./assets/splash.png",
17+
"resizeMode": "contain",
18+
"backgroundColor": "#ffffff"
19+
},
20+
"updates": {
21+
"fallbackToCacheTimeout": 0
22+
},
23+
"assetBundlePatterns": [
24+
"**/*"
25+
],
26+
"ios": {
27+
"supportsTablet": true
28+
}
29+
}
30+
}

example/assets/icon.png

1.07 KB
Loading

example/assets/splash.png

7.01 KB
Loading

0 commit comments

Comments
 (0)