1.0.2 • Published 5 years ago

react-native-simple-shimmer v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

React Native Simple Shimmer

Preview

npm.io

Example

import React from 'react';
import { View } from 'react-native';
import { SimpleShimmer } from 'react-native-simple-shimmer'

function App() {
  return (
    <>
      <View style={{ flex: 1, alignItems: 'center' }}>
        <View style={{ height: '30%', width: '100%' }}>
          <SimpleShimmer />
        </View>
        <View style={{ height: '10%', width: '100%' }}/>
        <View style={{ height: '30%', width: '50%' }}>
          <SimpleShimmer />
        </View>
        <View style={{ height: '10%', width: '100%' }}/>
        <View style={{ height: '5%', width: '50%' }}>
          <SimpleShimmer />
        </View>
      </View>
    </>
  );
};

export default App