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án
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án
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 Xiao
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
yuche
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 Healy
8e1e46db87
Adding 'setLayoutAnimationEnabledExperimental' flag to UIManagerStatic for Android LayoutAnimation ( #16317 )
2017-05-04 16:01:06 -07:00
Mohamed Hegazy
ff4eaf5d61
Fix lint errors introduced in tslint@5.2 ( #16330 )
2017-05-04 15:48:57 -07:00
Kyle Roach
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
Nick Redmond
4e34161855
react-native: PermissionsAndroid should have requestMultiple method
2017-04-28 09:50:30 -07:00
Eloy Durán
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án
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án
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
ac241b3645
Fix lint failure
2017-04-20 11:21:21 -04:00
Andrew Goodale
ca056c85c5
Type definition for SectionList
2017-04-20 09:58:42 -04:00
Kyle Roach
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 Cavanaugh
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 Cavanaugh
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
Andy
5bf5228d71
Fix additional lint errors from the new dtslint ( #15865 )
2017-04-14 09:15:37 -07:00
Andy
bbc61fbf93
Extend "dtslint/dt.json" directly instead of "../tslint.json". ( #15822 )
...
* Extend "dtslint/dt.json" directly instead of "../tslint.json".
* Convert more "../tslint.json" to "dtslint/dt.json"
* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Kyle Roach
3409eaed79
Linting errors
2017-04-13 09:16:33 -04:00
Kyle Roach
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
8a6b8375a9
Merge branch 'master' of github.com:MNBuyskih/DefinitelyTyped
2017-04-12 17:45:22 +03:00
MNB
cbfd296200
reac-native lint fixes
2017-04-12 17:43:53 +03:00
MNB
87190352c9
reac-native lint fixes
2017-04-12 17:36:31 +03:00
MNB
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án
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 Lu
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
Libin Lu
44a579f3e0
add measure function into ui manager
2017-04-05 14:15:43 -04:00
Sarah Scott
ce28686a4e
adds types for react native flatlist component
2017-04-05 15:38:55 +02:00
Eloy Durán
b7565ed337
Merge pull request #15611 from ligaz/patch-18
...
[react-native] Add accessibilityLabel to Touchable
2017-04-04 20:04:49 +02:00
Nathan Shively-Sanders
c48d2ee4b3
Merge pull request #15518 from gyzerok/fix-picker-item
...
@types/react-native fix Picker types
2017-04-04 10:18:30 -07:00
Stefan Dobrev
06a42607f3
[react-native] Add accessibilityLabel to Touchable
...
Add `accessibilityLabel` property to Touchable. Fix description of the `accessible` property.
2017-04-04 10:15:39 +03:00
Andy
68e0aea47a
Lint additional react packages ( #15527 )
2017-03-30 14:25:38 -07:00
cailenmusselman
389adfc542
findNodeHandle also accepts base react-native components ( #15444 )
...
* findNodeHandle also accepts base react-native components
We're also able to pass in base react-native components like View, TextView, etc. to findNodeHandle
* Added static tests for findNodeHandle definition
* Removed trailing whitespace
* Okay NOW all trailing white-space is removed
2017-03-30 14:15:34 -07:00
Fedor Nezhivoi
58c3aaf8e3
@types/react-native fix Picker types
2017-03-30 20:08:42 +03:00
Andy
bd29808df7
react-native: Fix lint failures ( #15496 )
...
...mostly by disabling them.
2017-03-29 15:53:09 -07:00