diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 1aa3397a5c..72b1197b4b 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -21,6 +21,7 @@ // Wojciech Tyczynski // Jake Bloom // Ceyhun Ozugur +// Mike Martin // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -3299,6 +3300,11 @@ export interface ProgressBarAndroidProps extends ViewProps { */ progress?: number; + /** + * Whether to show the ProgressBar (true, the default) or hide it (false). + */ + animating?: boolean; + /** * Color of the progress bar. */ diff --git a/types/react-native/test/index.tsx b/types/react-native/test/index.tsx index b9e9912e27..44b186322f 100644 --- a/types/react-native/test/index.tsx +++ b/types/react-native/test/index.tsx @@ -90,6 +90,7 @@ import { NetInfo, PermissionsAndroid, Platform, + ProgressBarAndroid, PushNotificationIOS, } from "react-native"; @@ -937,6 +938,16 @@ const PlatformTest = () => { } }; +// ProgressBarAndroid +const ProgressBarAndroidTest = () => { + +}; + // Push notification const PushNotificationTest = () => { PushNotificationIOS.scheduleLocalNotification({