mlanter f66fba83cf Set initial opacity based on style
Summary:
Set the initial opacity based on the style opacity instead of defaulting to 1.  Without this change, if the opacity on the view is set to 0.5 (for example), the component will render with 1 opacity and then after a press and release it will set to 0.5.  This fixes it to set to the correct value on mount.

**Test plan (required)**
Example code:
```
      <TouchableOpacity
        activeOpacity={1}
        style={STYLES.Button}>
        {...}
      </TouchableOpacity>
```
```
const STYLES = StyleSheet.create({
  Button: {
    opacity: 0.5,
  },
});
```

Before (notice starts out dark and then after click and release becomes light):
![before](https://cloud.githubusercontent.com/assets/19673711/23444255/c120cbb0-fde8-11e6-8c03-ef4f0f25736b.gif)

After (starts out light and is the same light color after a click and release):
![after](https://cloud.githubusercontent.com/assets/19673711/23444254/c106a6e0-fde8-11e6-8181-def45b7bb84f.gif)
Closes https://github.com/facebook/react-native/pull/12628

Differential Revision: D4641509

fbshipit-source-id: 3b6cf653fe837df704007f585c655d4450d14497
2017-03-01 21:46:40 -08:00
..
2017-02-21 09:11:01 -08:00
2016-12-07 17:13:42 -08:00
2017-02-24 13:01:34 -08:00
2017-02-27 14:04:57 -08:00
2017-03-01 21:15:03 -08:00
2017-01-31 11:58:30 -08:00
2016-11-02 12:29:15 -07:00
2017-02-14 20:00:34 -08:00
2016-08-09 06:43:46 -07:00
2017-03-01 17:55:30 -08:00
2017-01-31 11:13:50 -08:00
2016-11-23 11:28:29 -08:00
2017-02-21 15:18:40 -08:00
2017-02-24 07:00:16 -08:00