New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-avatar-loader

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-avatar-loader

Wrapper on top of tag for applying fallback background image to banners and thumbnails

latest
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

react-avatar-loader

Simple React component for loading image, thumbnails.

Displays a fallback avatar until the image is loaded

install

npm install react-avatar-loader

Usage

import AvatarLoader from 'react-avatar-loader'

...
    <AvatarLoader src='image_to_be_loaded' style={style}/>
...

Accepts Props

src Type: String

The image URL to be loaded

className Type: String

classes if any

style Type: Object

To apply custom style. This style is applicable to both fallback avatar as well the image to be loaded.

FAQs

Package last updated on 20 May 2018

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