@auraxy/react-async-button
v1.0.6
Published
A button component of react, realizes the button auto-lock when it clicked and auto-unlock after the async action has done
Downloads
8
Maintainers
Readme
@auraxy/react-async-button
pkg.module supported
, which means that you can apply tree-shaking in you project
A button component of react, realizes the button auto-lock when it clicked and auto-unlock after the async action has done
Installation
npm i -S @auraxy/react-async-button
Global name
ReactAsyncButton
Interface
See in index.d.ts
Usage
import * as ReactAsyncButton from '@auraxy/react-async-button'
Use in html, see what your can use in CDN: unpkg
<-- use what you want -->
<script src="https://unpkg.com/@auraxy/react-async-button/lib/umd/<--module-->.js"></script>