Socket
Book a DemoInstallSign in
Socket

cf-component-loading

Package Overview
Dependencies
Maintainers
8
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-component-loading

CloudFlare Loading Component

npmnpm
Version
1.0.2
Version published
Weekly downloads
120
11900%
Maintainers
8
Weekly downloads
 
Created
Source

cf-component-loading

CloudFlare Loading Component

Installation

$ npm install cf-component-loading

Usage

const React = require('react');
const Loading = require('cf-component-loading');

class MyComponent extends React.Component {
  render() {
    return (
      <div>
        {this.props.isLoading ? <Loading/> : (
          <p>Done Loading.</p>
        )}
      </div>
    );
  }
}

FAQs

Package last updated on 02 Feb 2016

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