Commit Graph
59 Commits
Author SHA1 Message Date
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-SandersandMohamed Hegazy 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 TorleyandGitHub 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 RoachandMohamed Hegazy 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
Jeremi Stadler 11e05d5948 [React-Native] Add missing props for Text & TextInput
https://facebook.github.io/react-native/docs/text.html#selectioncolor

https://facebook.github.io/react-native/docs/text.html#textbreakstrategy

https://facebook.github.io/react-native/docs/textinput.html#spellcheck
2017-05-29 15:29:41 +02:00
Jeremi Stadler c350fb666d [React-Native] Add global ErrorUtils & __BUNDLE_START_TIME__
Source:
https://github.com/facebook/react-native/blob/master/packager/src/Resolver/polyfills/error-guard.js
https://github.com/facebook/react-native/blob/master/packager/src/Resolver/polyfills/prelude.js
2017-05-29 11:43:14 +02:00
Fedor Nezhivoi 96d0e4a113 @types/react-native update Slider props 2017-05-23 09:41:01 +03:00
huhuanming 5dfa23810d Add removeClippedSubviews To SectionList & FlatList 2017-05-18 23:29:42 +08:00
huhuanming 621cf88db5 Add testID To TouchableWithoutFeedbackProperties 2017-05-17 11:23:28 +08:00
qlyan(benben) 1e648a4bd2 add optional args for AlertIOSButton interface 2017-05-15 12:46:34 +08:00
Eloy DuránandGitHub 8868f90acf Merge pull request #16423 from asakasa/add-types-for-react-native
Add new types for TabBar in types/react-native
2017-05-10 08:23:51 +02:00
Eloy DuránandGitHub 6c85d19598 Merge pull request #16418 from jasonhealy/patch/update-scrollview-proptypes
[react-native] Change ScrollView's snapToInterval prop from array to number
2017-05-10 08:21:06 +02:00
asakasa bf2499f1d2 Update version of React Native
Now current version of React Native is 0.44
2017-05-10 03:16:59 +09:00
asakasa a6e481c4bc Add new types for TabBar in react-native
The types are available since iOS 10.
And then test for TabBar added.
2017-05-10 03:05:42 +09:00
Jason Healy eab9a9239c change snapToInterval prop from array to number 2017-05-09 16:35:13 +01:00
David XiaoandGitHub 0307072de4 React-native: export ImageURISource
Useful for passing around the struct before giving to to the \<Image> component.
2017-05-06 15:44:55 -07:00
yucheandMohamed Hegazy 221fdba61b add extraData prop to FlatList and SectionList (#16338)
* add `extraData` prop to FlatList and SectionList

see:
https://facebook.github.io/react-native/docs/sectionlist.html#props
https://facebook.github.io/react-native/docs/flatlist.html#props

* remove extra space
2017-05-05 10:11:00 -07:00
Jason HealyandMohamed Hegazy 8e1e46db87 Adding 'setLayoutAnimationEnabledExperimental' flag to UIManagerStatic for Android LayoutAnimation (#16317) 2017-05-04 16:01:06 -07:00
Kyle RoachandMohamed Hegazy 74818a2559 [react-native] Added BackHandler component (#16302) 2017-05-03 12:07:12 -07:00
Daniel Rosenwasser 550cf1fbea Removed inheritance from React.Props (which is deprecated) as well as explicit ref properties.
TypeScript already includes `ref` properties when necessary through the use of
`JSX.IntrinsicClassAttributes` (which is more or less just an alias of `React.ClassAttributes<T>`
inside of React's declaration files).

Our understanding is that having these declarations caused problems in assignability in
scenarios where the 'ref' key in props were not assignable in odd ways.
2017-05-02 17:24:25 -07:00
liudongpuandGitHub 488ab0050d emit ...param:any[] 2017-05-02 22:25:32 +08:00
Nick Redmond 4e34161855 react-native: PermissionsAndroid should have requestMultiple method 2017-04-28 09:50:30 -07:00
Eloy DuránandGitHub a7e9769870 Merge pull request #15958 from systemride/getInitialNotification
react-native: PushNotificationIOS.getInitialNotification should return a Promise
2017-04-20 20:51:23 +02:00
Eloy DuránandGitHub 56d0d226da Merge pull request #15877 from systemride/master
react-native: Add mode property to DatePickerAndroid options
2017-04-20 20:49:59 +02:00
Nick Redmond 814efe633e react-native: PushNotificationIOS.getInitialNotification should return a Promise 2017-04-20 11:35:26 -07:00
Nick Redmond 7bdbb4cdc8 react-native: Update PermissionsAndroid types 2017-04-20 11:28:29 -07:00
Eloy DuránandGitHub 85596fb3b7 Merge pull request #16026 from newyankeecodeshop/section-list
@types/react-native add SectionList component
2017-04-20 17:50:22 +02:00
Andrew Goodale f48da02f41 Re-order optional props to match documentation 2017-04-20 11:31:44 -04:00
Andrew Goodale ca056c85c5 Type definition for SectionList 2017-04-20 09:58:42 -04:00
Kyle RoachandAndy ab4ff7f937 Moved method scrollToEnd to correct interface (#15955)
Moved scrollToEnd from RecyclerViewBackedScrollViewStatic to ScrollViewStatic
2017-04-18 10:52:16 -07:00
Eloy Durán 33660a723a [react-native] Try to fix the mention bot.
See e.g. https://github.com/DefinitelyTyped/DefinitelyTyped/pull/15817#issuecomment-293604762
2017-04-18 16:13:07 +02:00
Ryan CavanaughandGitHub a8b9ba579b Merge pull request #15817 from MNBuyskih/master
Fix linter errors for react-native FlatList declarations
2017-04-17 14:03:01 -07:00
Ryan CavanaughandGitHub d456cac7b6 Merge pull request #15818 from iRoachie/patch-1
react-native: Added scrollToEnd method on ScrollView
2017-04-17 12:59:29 -07:00
Nick Redmond f562cd07a9 react-native: Add mode property to DatePickerAndroid options 2017-04-14 14:49:45 -07:00
AndyandGitHub 5bf5228d71 Fix additional lint errors from the new dtslint (#15865) 2017-04-14 09:15:37 -07:00
Kyle RoachandGitHub 3409eaed79 Linting errors 2017-04-13 09:16:33 -04:00
Kyle RoachandGitHub d1898500af Added scrollToEnd method on ScrollView
Adds the scrollToEnd method on ScrollView. Mentioned (here)[https://facebook.github.io/react-native/docs/scrollview.html#scrolltoend] in the docs.
2017-04-12 11:05:19 -04:00
MNB 678b047667 Delete unnecessary imports 2017-04-12 17:52:12 +03:00
MNB 87190352c9 reac-native lint fixes 2017-04-12 17:36:31 +03:00
MNBandGitHub ca5d39edd3 Merge pull request #1 from sarahscott/master
adds types for react native flatlist component
2017-04-12 15:38:52 +03:00
Daniel Earwicker a56d17157a [react-native] - StyleSheet.create parameter properly constrained
Added test based on output of react-native init command
2017-04-11 09:47:10 +01:00
Eloy DuránandGitHub ddce4ffcfe Merge pull request #15673 from evollu/patch-8
[react-native] add measure function into ui manager
2017-04-06 22:48:25 +02:00
Fedor Nezhivoi f928bfb329 @types/react-native add myself to the list of maintainers 2017-04-06 18:32:02 +03:00
Libin LuandGitHub 1bf9a4e75f Update index.d.ts 2017-04-05 16:54:07 -04:00
Fedor Nezhivoi 2804601a84 @types/react-native update layout props in accordance to 0.43 release and refactor them a bit 2017-04-05 22:18:13 +03:00