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
Andrew Goodale
30bacf8be5
Support arrays in style props
2017-06-29 12:04:02 -04:00
Yui T
937b1fc401
Fix linting: line exceed max length of 200
2017-06-23 10:50:13 -07:00
Kyle Roach
5193fb04bf
[react-native] Added Kyle Roach to list of contributors
2017-06-23 07:56:59 -04:00
John Reilly
07352da21a
Merge pull request #17288 from tkrotoff/react-default-type-arguments
...
Change React.Component<P, S> to React.Component<P = {}, S = {}>
2017-06-22 19:18:47 +01:00
Júlio César
90c45a404c
Add missing aspectRatio property to FlexStyle
...
See https://facebook.github.io/react-native/releases/0.45/docs/layout-props.html#aspectratio
2017-06-21 13:17:46 -03:00
Joseph Roque
74a8cc9771
Add missing stickySectionHeadersEnabled prop
2017-06-21 00:54:16 -07:00
Tanguy Krotoff
573083a518
Replace React.Component<(any|void|\{\}|null)> by React.Component
...
+ many manual adjustments
2017-06-21 09:48:37 +02:00
Tanguy Krotoff
ea9de8a518
Replace React.Component<(.*), (any|void|\{\}|null)> by React.Component<$1>
...
+ many manual adjustments
2017-06-19 13:35:50 +02:00
Tanguy Krotoff
eeb262e1d8
Update react to TypeScript 2.3
2017-06-19 13:34:54 +02:00
Stephen Bird
202eba1a0c
[react-native] Add ListEmptyComponent
...
added in 0.45.1
2017-06-15 15:20:16 -07:00
Jeremi Stadler
f342368cd4
[React-Native] Add dark-content as statusbar option
...
https://facebook.github.io/react-native/docs/statusbar.html#statusbarstyle
2017-06-08 22:24:16 +02:00
Nathan Shively-Sanders
163f4438df
Fix weak type errors ( #16845 )
...
* Fix first round of weak type errors
Done through griddle-react
* 95% done with weak type fixes
* Fix last couple of weak type errors
* Remove some lint from mithril tests
* mithril's Lifecycle is not a weak type any more
Restore the Lifecycle constraints in the rest of the definitions.
* Fix react-redux tests after #16652 broke them
* Remove package-lock.json
2017-06-04 22:03:03 -07:00
Andy Hanson
a39e51dced
Fix lint
2017-06-01 07:55:17 -07:00
Andy Hanson
472bd8bca8
Merge branch 'patch-1' of https://github.com/liudongpu/DefinitelyTyped into liudongpu-patch-1
2017-06-01 07:54:38 -07:00
Jonathan Torley
225bc1a2e7
Added windows as a platform
...
With the use of the react-native-windows library it is possible to write UWP applications, for which the PlatformOS returns 'windows'
2017-06-01 17:21:20 +10:00
Kyle Roach
5da11947ec
[react-native] Added keyboardShouldPersistTaps prop to FlatList ( #16818 )
2017-05-31 22:10:16 -07:00
dinzo
2effdbca8c
[React Native] Improved typings for FlatList and SectionList
2017-05-30 18:06:18 -04:00
Jeremi Stadler
8a8bb937ea
[React-Native] Add myself to maintainers list
2017-05-29 21:50:54 +02:00