Add loading spinner props to react-native-elements ButtonProps (#21382)

* Add loading spinner props to react-native-elements ButtonProps

https://react-native-training.github.io/react-native-elements/API/buttons/

* Fix lint error
This commit is contained in:
Alec Winograd
2017-11-13 06:56:27 -08:00
committed by Andy
parent 112cd72e92
commit f8e25077c3
+15 -1
View File
@@ -354,11 +354,25 @@ export interface ButtonProps extends TouchableWithoutFeedbackProps {
containerViewStyle?: StyleProp<ViewStyle>;
/**
* Indicates button is loading
* Styling for loading spinner
*
* @default null
*/
activityIndicatorStyle?: StyleProp<ViewStyle>;
/**
* Display a loading spinner
*
* @default false
*/
loading?: boolean;
/**
* Display the spinner to the right
*
* @default false
*/
loadingRight?: boolean;
}
/**