@dallegoet/react-button-loader
v1.3.0
Published
Button with loader feature.
Downloads
1
Readme
react-button-loader
Button with loader feature.
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