1.1.0 • Published 4 years ago

react-success-indicator v1.1.0

Weekly downloads
80
License
MIT
Repository
github
Last release
4 years ago

Success Indicator for React

A simple success indicator for use with React.js

Installation

npm install --save react-success-indicator

Usage

const SuccessIndicator = require('react-success-indicator')

// ...

return (
  <div>
    <p>
      <SuccessIndicator size='96px' color='black' />
    </p>

    <p>
      Account created!
    </p>
  </div>
)

Result:

Props

size

  • optional
  • type: string

The size of the indicator. Can be specified as any css-compatible length.

e.g. '100%', '128px', '1em'

color

  • optional
  • type: string

The color of the indicator. Can be specificed as any css-compatible color.

e.g. 'black', '#fc3', 'rgb(128, 64, 192)', '#00000099'

1.1.0

4 years ago

1.0.0

6 years ago