react-native-skeleton
Skeleton Loading animation for React Native app. Adopted with new architecture for performance app
Installation
npm install react-native-skeleton
or
yarn add react-native-skeleton
Usage
import SkeletonWrapper from 'react-native-skeleton';
<SkeletonWrapper isLoading={true} style={{ backgroundColor: 'white' }}>
{/** Your component's here */}
</SkeletonWrapper>;
Library implements FlatList for showing contents when loading
import {SkeletonFlatList} from 'react-native-skeleton';
<SkeletonFlatList isLoading={true} {...rest of FlatList props} />
Library also provides HOC implement by using
const NamedComponent = withSkeletonLoading(WrappedComponent);
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library