mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
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:
+15
-1
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user