Skip to content

Commit

Permalink
chore: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
matinzd committed Feb 7, 2023
1 parent 84e6668 commit 664444b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions apps/fabric/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,7 @@ const App = () => {
const [source, setSource] = React.useState<'local' | 'remote'>('local');

return (
<View
style={{
flex: 1,
justifyContent: 'center',
alignItems: 'center',
paddingVertical: 32,
}}>
<View style={styles.container}>
<AnimatedLottieView
source={source === 'remote' ? remoteSource : localSource}
autoPlay={true}
Expand All @@ -49,6 +43,12 @@ const App = () => {
};

const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
paddingVertical: 32,
},
button: {backgroundColor: color.primary, marginTop: 24, padding: 24},
text: {color: 'white'},
lottie: {width: 400, height: 400},
Expand Down

0 comments on commit 664444b

Please sign in to comment.