React Native Animated Loading Button
React Native Animated Loading Button is a button component that animates to a loading button and vice versa.
Installation
$ npm install react-native-animated-loading-button
$ yarn add react-native-animated-loading-button
Usage
; Component loadingButton = React; { thisloadingButton; } { thisloadingButton; } { return <AnimatedLoadingButton ref= thisloadingButton = loadingButton containerStyle= width: "100%" height: 50 buttonStyle= backgroundColor: "#424242" borderRadius: 4 paddingHorizontal: 16 title="Login" titleStyle= color: "white" onPress=thishandleLoadingButtonPress /> }
Features
- Animate to Loading State and vice versa.
- Support Title.
- Support Icon Left.
- Support Icon Right.
- Support Disabled button.
- Support Raised button.
- Supports Accessibility.
License
React Native Animated Loading Button is available under the MIT license. See LICENSE for details.