This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createElement } from 'react' | |
import View from './view' | |
const SkeletonContainer = (props) => { | |
const { dimensions = [0, 0], circle = null, margin = [0, 0] } = props | |
const viewProps = { | |
marginHorizontal: margin[0], | |
marginVertical: margin[1], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { SkeletonArea } from './styles' | |
const Skeleton = (props) => { | |
const { | |
marginHorizontal, | |
marginVertical, | |
circle, | |
height, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { FlatList } from 'react-native' | |
import Skeleton from 'components/skeleton' | |
import { Container, WrapperHeader, Wrapper, Section } from './styles' | |
const HomeLoading = () => { | |
return ( | |
<Container> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { SafeAreaView, ScrollView, View, Text, StatusBar } from 'react-native' | |
import { | |
Header, | |
LearnMoreLinks, | |
Colors, | |
DebugInstructions, | |
ReloadInstructions | |
} from 'react-native/Libraries/NewAppScreen' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { StyleSheet } from 'react-native' | |
import { Colors } from 'react-native/Libraries/NewAppScreen' | |
const styles = StyleSheet.create({ | |
scrollView: { | |
backgroundColor: Colors.lighter | |
}, | |
engine: { | |
position: 'absolute', | |
right: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createElement, useState } from 'react' | |
import { Animated, Easing } from 'react-native' | |
import View from './view' | |
const SkeletonContainer = (props) => { | |
const { dimensions = [0, 0], circle = null, margin = [0, 0] } = props | |
const [animation] = useState(new Animated.Value(0.1)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { AnimatedView } from './styles' | |
const Skeleton = (props) => { | |
const { | |
animation, | |
marginHorizontal, | |
marginVErtical, | |
circle, |