react-native-simple-shimmer

1.0.2 • Public • Published

React Native Simple Shimmer

Preview

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

Package Sidebar

Install

npm i react-native-simple-shimmer

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

2.84 MB

Total Files

16

Last publish

Collaborators

  • sid_io