Skip to content

Commit 511ccec

Browse files
committed
Launch time 🚀
0 parents  commit 511ccec

10 files changed

+6965
-0
lines changed

.gitignore

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
18+
# Directory for instrumented libs generated by jscoverage/JSCover
19+
lib-cov
20+
21+
# Coverage directory used by tools like istanbul
22+
coverage
23+
*.lcov
24+
25+
# nyc test coverage
26+
.nyc_output
27+
28+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
29+
.grunt
30+
31+
# Bower dependency directory (https://bower.io/)
32+
bower_components
33+
34+
# node-waf configuration
35+
.lock-wscript
36+
37+
# Compiled binary addons (https://nodejs.org/api/addons.html)
38+
build/Release
39+
40+
# Dependency directories
41+
node_modules/
42+
jspm_packages/
43+
44+
# TypeScript v1 declaration files
45+
typings/
46+
47+
# TypeScript cache
48+
*.tsbuildinfo
49+
50+
# Optional npm cache directory
51+
.npm
52+
53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Optional REPL history
57+
.node_repl_history
58+
59+
# Output of 'npm pack'
60+
*.tgz
61+
62+
# Yarn Integrity file
63+
.yarn-integrity
64+
65+
# dotenv environment variables file
66+
.env
67+
.env.test
68+
69+
# parcel-bundler cache (https://parceljs.org/)
70+
.cache
71+
72+
# next.js build output
73+
.next
74+
75+
# nuxt.js build output
76+
.nuxt
77+
78+
# vuepress build output
79+
.vuepress/dist
80+
81+
# Serverless directories
82+
.serverless/
83+
84+
# FuseBox cache
85+
.fusebox/
86+
87+
# DynamoDB Local files
88+
.dynamodb/

dist/react-native-loading-dots.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-native-loading-dots.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-native-loading-dots.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import{useState as e,useEffect as t,useRef as a}from"react";import{StyleSheet as i,Animated as r,Easing as n}from"react-native";var o=["#4dabf7","#3bc9db","#38d9a9","#69db7c"],u=i.create({loading:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between"},dot:{width:20,height:20,borderRadius:10}});export default function(i){var l=i.dots;void 0===l&&(l=4);var c=i.colors;void 0===c&&(c=o);var s=e([]),d=s[0],f=s[1],v=e(!1),g=v[0],m=v[1],b=a(new r.Value(0)).current;function p(e,t){r.parallel(e.map(function(e,a){return function(e,t,a){return r.sequence([r.timing(e,{toValue:t?20:-20,easing:n.bezier(.41,-.15,.56,1.21),delay:a,useNativeDriver:!0}),r.timing(e,{toValue:t?-20:20,easing:n.bezier(.41,-.15,.56,1.21),delay:a,useNativeDriver:!0}),r.timing(e,{toValue:0,delay:a,useNativeDriver:!0})])}(e,t,100*a)})).start(function(){m(!g)})}return t(function(){for(var e=[],t=0;t<l;t++)e.push(new r.Value(0));f(e)},[]),t(function(){0!==d.length&&(p(d,g),r.timing(b,{toValue:1,easing:n.ease,useNativeDriver:!0}).start())},[d]),t(function(){0!==d.length&&p(d,g)},[g,d]),react(r.View,{style:[u.loading,{opacity:b}]},d.map(function(e,t){return react(r.View,{key:"loading-anim-"+t,style:[u.dot,{backgroundColor:c[t]||"#4dabf7"},{transform:[{translateY:e}]}]})}))}
2+
//# sourceMappingURL=react-native-loading-dots.mjs.map

dist/react-native-loading-dots.mjs.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-native-loading-dots.umd.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-native-loading-dots.umd.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)