Nightmarish Pawnshop Mystic

    react-bootstrap-spinner

    1.0.0 • Public • Published

    react-bootstrap-spinner

    Hi there, Bootstrap Spinner for React lovers <3.

    NPM JavaScript Style Guide

    Install

    npm install --save react-bootstrap-spinner
     
    npm i bootstrap

    Usage

    import bootstrap.min.css in main file e.g index.js

    import "bootstrap/dist/css/bootstrap.min.css";
     
    import React, { Component } from 'react'
     
    //import ReactSpinner from react-bootstrap-spinner
    import ReactSpinner from 'react-bootstrap-spinner'
     
    class Example extends Component {
      render () {
        return (
          //And use wherever you want...
          <ReactSpinner type="border" color="primary" size="5" />
        )
      }
    }

    Props

    • size: Size size in rem
    • color: You can give any bootstrap color - primary, secondary, danger etc...
    • type: Add spinner type - grow or border

    License

    MIT © License

    Install

    npm i react-bootstrap-spinner

    DownloadsWeekly Downloads

    163

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    13.6 kB

    Total Files

    7

    Last publish

    Collaborators

    • ajay1098