react-native-indicators: add missing common props (#35684)

This commit is contained in:
George Cheng 2019-05-25 00:53:13 +08:00 committed by Ryan Cavanaugh
parent 4d63b62600
commit 6f81fc2a69

View File

@ -15,9 +15,21 @@ export interface BaseIndicatorProps {
/**
* Animation duration in ms
* @default1200
* @default 1200
*/
animationDuration?: number;
/**
* Animation toggle
* @default true
*/
animating?: boolean;
/**
* Animation is interaction
* @default true
*/
interaction?: boolean;
}
export interface UIActivityIndicatorProps extends BaseIndicatorProps {