@dallegoet/react-button-loader

Button with loader feature.

Stats

StarsIssuesVersionUpdatedCreatedSize
@dallegoet/react-button-loader
001.3.03 years ago3 years agoMinified + gzip package size for @dallegoet/react-button-loader in KB

Readme

react-button-loader

Button with loader feature.

NPM JavaScript Style Guide

Install

yarn add @dallegoet/react-button-loader --save

Usage

import React, { Component } from 'react'

import ButtonLoader from '@dallegoet/react-button-loader'

class Example extends Component {
  render () {
    return (
      <ButtonLoader isLoading={true}>
        Click me !
      </ButtonLoader>
    )
  }
}

Props

Property Description
isLoading boolean Default: false -- Display or not the loader.

License

MIT © dallegoet

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.