react-native-auto-placeholder-loading
v0.0.1
Published
React Native Package to automatically set a placeholder while your components are loading
Downloads
4
Maintainers
Readme
react-native-auto-placeholder-loading
Getting started
$ npm i react-native-auto-placeholder-loading --save
or
$ yarn add react-native-auto-placeholder-loading
Usage
import { Text, View } from 'react-native';
import AutoPlaceholderLoading from 'react-native-auto-placeholder-loading';
const App = () => (
<AutoPlaceholderLoading loading={isFetched}>
<View>
<Text>Hello World</Text>
</View>
</AutoPlaceholderLoading>
);