react-native/Libraries
cailenmusselman f088bca580 ProgressBarAndroid checks indeterminate prop type manually
Summary:
Causes a YellowBox warning: "You are manually calling a React.PropTypes validation function for 'indeterminate' prop on 'ProgressBarAndroid'."

Initially reported here: https://github.com/facebook/react-native/issues/9692 but closed by the creator because he switched to using ActivityIndicator.

Fixed as per the guidelines here: https://facebook.github.io/react/warnings/dont-call-proptypes.html

```
/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * flow
 */

import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  View,
  ProgressBarAndroid
} from 'react-native';

export default class AwesomeProject extends Component {
  render() {
    return (
      <View style={styles.container}>
	<ProgressBarAndroid indeterminate={true} styleAttr="Horizontal"/>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1
  }
});

AppRegistry.registerComponent('AwesomeProject', () => AwesomeProject);

```
Closes https://github.com/facebook/react-native/pull/11791

Differential Revision: D4998602

Pulled By: davidaurelio

fbshipit-source-id: e210684e2f2497238e4d3d0adf2754075be81e98
2017-05-10 05:16:06 -07:00
..
ART Apple TV Support: Add tvOS build support for ART library 2017-04-20 16:15:38 -07:00
ActionSheetIOS Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
AdSupport Update AdSupportIOS.js 2017-04-28 06:34:21 -07:00
Alert Export Alert's type ButtonsArray for external use 2017-03-06 12:44:47 -08:00
Animated Add request/cancelAnimationFrame to jest setup 2017-05-04 17:35:06 -07:00
AppState Fix the website build 2017-02-21 09:11:01 -08:00
BatchedBridge Refactor MessageQueue 2017-04-28 04:04:14 -07:00
BugReporting Patch up for future React Sync 2017-02-08 14:50:43 -08:00
CameraRoll Export an object instead of array for asset type 2017-05-04 21:49:45 -07:00
Components ProgressBarAndroid checks indeterminate prop type manually 2017-05-10 05:16:06 -07:00
Core Manually inline parseErrorStack 2017-03-28 08:38:13 -07:00
DebugComponentHierarchy
EventEmitter Native Animated - Restore, reorganize and add new tests 2017-03-27 11:46:05 -07:00
Experimental Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
Geolocation Include Create React Native App in Getting Started 2017-04-26 07:16:18 -07:00
Image More attempts to fix Travis CI runs 2017-05-10 04:32:54 -07:00
Inspector Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
Interaction Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
JSInspector
LayoutAnimation Deploy v0.43.0 2017-04-05 18:31:06 -07:00
Linking update docs for Linking.openURL 2017-04-28 04:04:14 -07:00
LinkingIOS Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
Lists Correcting a mistake in the minimal example in the FlatList doc 2017-05-05 11:49:26 -07:00
Modal Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
NativeAnimation RCTUIManagerObserverCoordinator: new way to subscribe for granular notifications from UI Manager 2017-05-08 12:52:09 -07:00
Network Change Promise.done to Promise.then 2017-04-16 15:30:46 -07:00
Performance Clean up unused metrics 2017-05-09 13:30:26 -07:00
PermissionsAndroid Include Create React Native App in Getting Started 2017-04-26 07:16:18 -07:00
PushNotificationIOS Update documentation to stop using search path and old import syntax 2017-04-28 05:56:58 -07:00
RCTTest Merge all copies of RUN_RUNLOOP_WHILE in UIExplorerUnitTests 2017-04-21 08:35:46 -07:00
ReactNative Update AppRegistry.registerComponent's parameter. 2017-05-03 18:01:32 -07:00
Renderer Work around a false positive warning 2017-05-09 12:38:07 -07:00
Sample Fix missing RCTBridgeModule.h 2017-01-31 11:13:50 -08:00
Settings Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
Share Flowify Process Color 2017-04-26 11:31:56 -07:00
Storage correctly order ASyncStorage 2017-02-21 15:18:40 -08:00
StyleSheet Fix parseFloat mistaken uses of "radix" 2017-05-03 23:00:39 -07:00
Text Fixed default placeholder text color for multiline <TextInput> 2017-05-08 11:31:21 -07:00
Utilities BREAKING - Remove React forwarding and wrong import warnings 2017-04-26 10:02:32 -07:00
Vibration Enable -Wimplicit-retain-self en sync warning config for all projects 2017-03-23 15:01:34 -07:00
WebSocket Merge RCTPackagerClient into RCTPackagerConnection 2017-05-05 08:49:28 -07:00
react-native Sync React 16 from alpha 6 to 12 2017-05-03 17:16:48 -07:00
vendor Remove `copyProperties` 2017-03-21 08:01:58 -07:00
Promise.js Allow Promise to display error strings and not just error objects. 2017-03-09 14:30:57 -08:00
promiseRejectionIsError.js