react-native-skeleton-effect
v1.0.2
Published
A simple utility package for React Native that helps you get the platform name (iOS or Android). it's basic common component use in project like placeholder loader. ## ✨ Features
Readme
📦 react-native-skeleton-effect
A simple utility package for React Native that helps you get the platform name (iOS or Android). it's basic common component use in project like placeholder loader.
✨ Features
- ✅ Lightweight
- 🛠️ Written in TypeScript
- 🔌 Supports React Native projects
📦 Installation
npm install react-native-skeleton-effect
# or with yarn
yarn add react-native-skeleton-effect
Usage:-
import SkeletonLoader from 'react-native-skeleton-effect'
const [isLoading, setIsLoading] = useState(true);
<SkeletonLoader style={style.img} isLoading={isLoading}>
<Image
source={{uri:'https://media.istockphoto.com/id/2152673203/photo'}}
style={styles.img}
resizeMode="stretch"
/>
</SkeletonLoader>
| Property | Value |
|------------------|---------|
| style | style |
| isLoading | boolean |
