You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-native-skeleton-image

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-skeleton-image

Enhance React Native's Image component with skeleton placeholders, providing a seamless loading experience and improved user engagement during image retrieval.

1.2.1
latest
Source
npmnpm
Version published
Weekly downloads
6
100%
Maintainers
1
Weekly downloads
 
Created
Source

React Native Skeleton Image

Enhance React Native's Image component with skeleton placeholders, providing a seamless loading experience and improved user engagement during image retrieval.

Dependencies

react-native-skeleton-placeholder

This package has a dependency with react-native-skeleton-placeholder. Please follow their installation instructions.

Installation

Using yarn:

yarn add react-native-skeleton-image

Using npm:

npm install react-native-skeleton-image --save

Usage

import React from 'react';
import SkeletonImage from 'react-native-skeleton-image';

const App = () => {
  const uri = 'https://placehold.co/300x200.png';

  return (
    <SkeletonImage style={{ width: 300, height: 200 }} source={{ uri }} />
  );
};

export default App;

License

MIT

Keywords

react-native

FAQs

Package last updated on 02 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts