Sahin Vardar
03c324b1d0
Add typings for react-native-sensor-manager
...
* Added NativeModulesStatic interface which is used as a type for NativeModule var in react-native type definition.
* Now you can argument NativeModule through augmenting NativeModuleStatic.
* Added NativeModuleStatic augmentation for react-native-sensor-manager which adds the SensorManager to the NativeModules.
* Augmented DeviceEventEmitterStatic which adds type informations to 'addListener' function which works in conjunction with SensorManager.
2017-08-05 22:59:01 +02:00
Diogo do Carmo
c04b681612
Add useForeground to TouchableNativeFeedback ( #18617 )
2017-08-04 16:47:23 -07:00
huhuanming
6e8ad8b332
bump to 0.47 ( #18561 )
2017-08-02 12:59:19 -07:00
Al Prater
78ea950c0c
[react-native] Add DataDetectorType to WebViewPropertiesIOS ( #18543 )
2017-08-01 12:09:31 -07:00
Kamal Fariz Mahyuddin
ee0954d539
[react-native] Add SectionList ListEmptyComponent ( #18512 )
...
Added in 0.45.x
2017-08-01 11:09:20 -07:00
Eloy Durán
9622ee3e33
Merge pull request #18402 from timwangdev/patch-1
...
[react-native] Fix FlatList/SectionList renderItem method types
2017-07-28 10:40:32 +02:00
Tim Wang
f1ebed48aa
Add optional property for SectionList
2017-07-28 10:29:17 +08:00
Tim Wang
cde9060ae1
Add correct type for SectionList
2017-07-27 21:33:10 +08:00
Tim Wang
03b37e3f1b
Make key optional for SectionListData
2017-07-27 21:11:59 +08:00
Tim Wang
4a0e8af3d9
Fix SectionList test
2017-07-27 21:00:03 +08:00
Tim Wang
d6168ee581
Fix typo
2017-07-27 17:36:53 +08:00
Tim Wang
c657519830
Remove unused import
2017-07-27 17:30:53 +08:00
Tim Wang
4f0e33fcda
Fix SectionListProperties
2017-07-27 17:26:23 +08:00
Tim Wang
9fb7af4a03
Add test for FlatListProperties & SectionListProperties
2017-07-27 17:25:52 +08:00
Andy Hanson
6b17f17f54
[react-native] Clarify use of brand type
2017-07-26 09:02:30 -07:00
Tim Wang
46ef92eda7
Fix test
2017-07-26 15:47:15 +08:00
Tim Wang
9e1fbb528b
Fix typo
2017-07-26 15:24:02 +08:00
Tim Wang
e250e162ef
Fix renderItem() types in FlatListProperties
...
ref: http://facebook.github.io/react-native/docs/flatlist.html
2017-07-26 15:21:56 +08:00
Eloy Durán
765d26a240
Merge pull request #18274 from paranoidjk/master
...
fix(ReactNative): ScrollView.props.style definition error
2017-07-24 13:25:20 +02:00
paranoidjk
6310159eb6
fix(ReactNative): ScrollView.props.style definition error
2017-07-24 14:45:18 +08:00
HAMPLENI
01764b65da
Adding useNativeDriver to EventConfig ( #18302 )
...
The AnimatedEvent class's constructor takes in a config parameter of type EventConfig. This config object is passed to shouldUseNativeDriver, which only returns something other than false if useNativeDriver is ever set.
A case when useNativeDriver is set to true is when Animated.Event is used for an Animated.ScrollView's onScroll prop.
https://facebook.github.io/react-native/blog/2017/02/14/using-native-driver-for-animated.html
2017-07-21 19:00:35 -07:00
Anthony Higa
316c573bf4
Adding divide routine to Animated
2017-07-19 13:48:18 -07:00
Eloy Durán
a4a9db0264
Merge pull request #18181 from stackia/react-native/pan-responder
...
[react-native] Add onShouldBlockNativeResponder() for PanResponderCallback
2017-07-19 11:36:48 +02:00
stackia
b961f48fa6
react-native: add onShouldBlockNativeResponder() for PanResponderCallbacks
2017-07-19 01:50:42 +08:00
stackia
d030e33b5e
react-native: Stylesheet.create() return registered style
2017-07-19 01:37:50 +08:00
Fedor Nezhivoi
8088446401
@types/react-native: fix style related bugs
2017-07-16 22:43:46 +03:00
Eloy Durán
c113d3ad62
Merge pull request #18055 from RoryCombe/master
...
[react-native] Change type to accept ComponentType
2017-07-14 14:41:16 +02:00
Rory Combe
1913cb8749
Change type to accept ComponentType
...
Change type to accept React.ComponentType to accomodate for stateless as well as standard components
2017-07-14 16:13:48 +08:00
Orta
0591c67e92
Merge pull request #17990 from dannycochran/patch-6
...
update react-native so styles can be arrays
2017-07-13 15:20:05 -04:00
Danny Cochran
9fd8521de1
remove semi-colons
2017-07-13 10:54:39 -07:00
Andrzej Zabost
57a4dacea6
Add missing onDismiss callback in AlertOptions
2017-07-13 16:03:00 +02:00
Danny Cochran
9d0bd651c0
remove comment from local branch
2017-07-12 13:53:56 -07:00
Danny Cochran
98fcea0318
use generic StyleProp
2017-07-12 13:52:55 -07:00
Danny Cochran
813af14536
update react-native so styles can be arrays
...
1) apply the ViewStyleProp to all components
2) abstract a TextStyle prop and use it wherever appropriate
2017-07-12 12:29:24 -07:00
Eloy Durán
b190b8fc78
Merge pull request #17911 from iRoachie/ImageBackground
...
[rn] Adds ImageBackground Component
2017-07-11 13:18:21 +02:00
Kyle Roach
8b6a36dbcf
[rn] Adds ImageBackground
2017-07-11 07:12:54 -04:00
Kohki Makimoto
de518ab030
[react-native] Add type renderSectionFooter for SectionList
2017-07-11 13:55:01 +09:00
Nick McGuire
bc2c62ee87
[react-native] Added two TextInput Android properties
...
Added two properties to the TextInputAndroidProperties interface:
- disableFullscreenUI
- textBreakStrategy
2017-07-10 11:52:52 -04:00
Eloy Durán
59cf8054c8
Merge pull request #17826 from iRoachie/flatlist
...
[react-native] Additional flatlist, sectionlist props
2017-07-07 11:49:32 +02:00
Kyle
69b5070ac5
[react-native] Additional flatlist, sectionlist props
2017-07-07 00:15:02 -04:00
Dalci de Jesus Bagolin
e7db750c32
Add web as a platform
...
With the use of the react-native-web library, it is possible to write web applications, using react-native primitives, with this type definition, for which the PlatformOS returns 'web'
[https://github.com/necolas/react-native-web/blob/master/docs/apis/Platform.md ](https://github.com/necolas/react-native-web/blob/master/docs/apis/Platform.md )
2017-07-06 15:22:41 -04:00
Ors Kovacs
a836801960
Fixing react-native TextInput style
...
- adding TextStyle Array to ReactNative TextInput style property
2017-07-06 09:50:31 +02:00
Ron Buckton
ab4871f427
Merge pull request #17712 from iRoachie/base
...
[react-native] Correct signatures for FlatList components
2017-07-04 23:52:26 -07:00
Kyle
e75065c4ff
Add render function to Flatlist union
2017-07-05 00:01:22 -04:00
Jeremi Stadler
328d2c268f
[React-Native] Remove me from maintainer list
2017-07-04 11:24:25 +02:00
Kyle Roach
9ab3afa064
[react-native] Add state type to React.Component generic
2017-07-03 12:02:07 -04:00
Kyle Roach
e97075f1ea
[react-native] Correct signatures for Flatlist ListEmptyComponent, ListFooterComponent, ListHeaderComponent
2017-07-03 11:53:14 -04:00
Ed Bassett
acfeaa6869
Fix Easing interface, elastic should be a function
...
As described in the docs, `elastic` should take a value representing the bounciness of the easing function:
https://facebook.github.io/react-native/docs/easing.html
2017-07-01 15:25:52 +10:00
Eloy Durán
50b82ce053
Merge pull request #17622 from newyankeecodeshop/fix-style-type
...
[react-native] Support arrays in view style props.
2017-06-30 23:57:11 +02:00
paranoidjk
d370c997fa
fix(react-native): typo
2017-06-30 00:36:13 +08:00