react-native/RNTester/js
Spencer Ahrens 10c8352141 Fix flow typing of Text
Summary:
Make Text prop types exact to catch tons of errors, including typos like in https://fb.workplace.com/groups/rn.support/permalink/2306953619353240/.

I tried to fix things when it was totally obvious what the intent was, but otherwise tried to keep the existing behavior the same, even if it meant that usage of some props was getting ignored, like `hitSlop`.

Reviewed By: TheSavior

Differential Revision: D13892999

fbshipit-source-id: 5003508a648287e4eca8055fb59da5f03bd066cc
2019-02-05 15:26:53 -08:00
..
AnimatedGratuitousApp Disable animation native driver in AnimatedGratuisousApp of RNTester (#23172) 2019-01-28 03:26:12 -08:00
Shared Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
Thumbnails Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
ARTExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
AccessibilityAndroidExample.android.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
AccessibilityIOSExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
ActionSheetIOSExample.js Fixing ActionSheetIOS position after rotation on tablet (#22738) 2019-01-04 13:09:00 -08:00
ActivityIndicatorExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
AlertExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
AlertIOSExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
AnimatedExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
AppStateExample.js Remove var in RNTester (#22019) 2018-10-30 14:05:56 -07:00
AssetScaledImageExample.js Remove unused styles (#22083) 2018-11-05 13:57:47 -08:00
AsyncStorageExample.js Fix linting issues (#22062) 2018-11-01 14:29:16 -07:00
BorderExample.js Fix inline styles eslint warnings for examples (#22123) 2018-11-08 17:20:33 -08:00
BoxShadowExample.js Fix inline styles eslint warnings for examples (#22123) 2018-11-08 17:20:33 -08:00
ButtonExample.js Updated Button e2e tests to look up elements via testID (#22593) 2018-12-10 17:54:23 -08:00
CameraRollExample.js Use `invariant` instead of `fbjs/lib/invariant` 2018-12-03 00:07:02 -08:00
CameraRollView.js Remove unused styles (#22083) 2018-11-05 13:57:47 -08:00
CheckBoxExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
ClipboardExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
DatePickerAndroidExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
DatePickerIOSExample.js Add filtering to e2e tests (#22828) 2018-12-31 04:33:49 -08:00
DimensionsExample.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
FlatListExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
GeolocationExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
ImageCapInsetsExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
ImageEditingExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
ImageExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
InputAccessoryViewExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
KeyboardAvoidingViewExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
LayoutAnimationExample.js Remove unused styles (#22083) 2018-11-05 13:57:47 -08:00
LayoutEventsExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
LayoutExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
LinkingExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
ListExampleShared.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
ListViewExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
ListViewGridLayoutExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
ListViewPagingExample.js remove unused suppressions in xplat 2019-01-18 06:44:05 -08:00
MaskedViewExample.js Separate MaskedViewExample into individual examples (#23168) 2019-01-28 03:18:44 -08:00
ModalExample.js Remove var in RNTester (#22017) 2018-10-30 12:57:29 -07:00
MultiColumnExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
NativeAnimationsExample.js Deploy Flow v0.85 to xplat/js 2018-11-02 00:28:28 -07:00
NetInfoExample.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
OrientationChangeExample.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
PanResponderExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
PermissionsExampleAndroid.android.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
PickerExample.js Add filtering to e2e tests (#22828) 2018-12-31 04:33:49 -08:00
PickerIOSExample.js Remove var in RNTester (#22017) 2018-10-30 12:57:29 -07:00
PointerEventsExample.js Remove unused styles (#22083) 2018-11-05 13:57:47 -08:00
ProgressBarAndroidExample.android.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
ProgressViewIOSExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
PushNotificationIOSExample.js Remove var in RNTester (#22017) 2018-10-30 12:57:29 -07:00
RCTRootViewIOSExample.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RNTesterActions.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RNTesterApp.android.js Deploy Flow v0.85 to xplat/js 2018-11-02 00:28:28 -07:00
RNTesterApp.ios.js Fix RNTester Snapshot and Integration tests missing polyfills 2019-01-09 10:23:50 -08:00
RNTesterBlock.js Remove unused styles (#22083) 2018-11-05 13:57:47 -08:00
RNTesterButton.js RNTester: Remove all but one instance of PropTypes (#21321) 2018-09-25 17:17:37 -07:00
RNTesterExampleContainer.js Fix RNTester Camera Example 2019-01-10 15:47:02 -08:00
RNTesterExampleFilter.js Fix SectionList layout of RNTester on iOS (#23119) 2019-01-23 03:01:37 -08:00
RNTesterExampleList.js remove unused suppressions in xplat 2019-01-18 06:44:05 -08:00
RNTesterList.android.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
RNTesterList.ios.js Remove TabbarIOS from OSS 2019-01-30 23:41:40 -08:00
RNTesterNavigationReducer.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RNTesterPage.js RNTester: Remove all but one instance of PropTypes (#21321) 2018-09-25 17:17:37 -07:00
RNTesterSettingSwitchRow.js Deploy Flow v0.85 to xplat/js 2018-11-02 00:28:28 -07:00
RNTesterStatePersister.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RNTesterTitle.js Remove var in RNTester (#22016) 2018-10-30 14:37:03 -07:00
RTLExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
RefreshControlExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
RootViewSizeFlexibilityExampleApp.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
SafeAreaViewExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
ScrollViewExample.js Remove ActivityIndicator from ScrollView snapshot tests (#22729) 2018-12-20 10:02:34 -08:00
ScrollViewSimpleExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
SectionListExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
SegmentedControlIOSExample.js Remove var in RNTester (#22016) 2018-10-30 14:37:03 -07:00
SetPropertiesExampleApp.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ShareExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
SliderExample.js Apply thumbTintColor to Sliders on iOS (#22177) 2019-01-16 15:13:43 -08:00
SnapshotExample.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
StatusBarExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
SwipeableFlatListExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
SwipeableListViewExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
SwitchExample.js Add filtering to e2e tests (#22828) 2018-12-31 04:33:49 -08:00
TVEventHandlerExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
TextExample.android.js Fix textTransform when used with other text styles on Android (#22670) 2019-01-25 06:27:21 -08:00
TextExample.ios.js RNTester: Add `allowFontScaling` example to Android (#22991) 2019-01-16 06:47:02 -08:00
TextInputExample.android.js 0.87.0 in xplat/js 2018-11-28 17:32:50 -08:00
TextInputExample.ios.js Fix flow typing of Text 2019-02-05 15:26:53 -08:00
TimePickerAndroidExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
TimerExample.js Remove var in RNTester (#22015) 2018-10-30 14:26:59 -07:00
ToastAndroidExample.android.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
ToolbarAndroidExample.android.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
ToolbarAndroidExample.ios.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
TouchableExample.js Add filtering to e2e tests (#22828) 2018-12-31 04:33:49 -08:00
TransformExample.js Fix inline styles eslint warnings for examples (#22123) 2018-11-08 17:20:33 -08:00
TransparentHitTestExample.js Replace global.alert use to fix eslint warnings (#22184) 2018-11-19 18:10:33 -08:00
URIActionMap.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
VibrationExample.js Remove var in RNTester (#22014) 2018-10-30 14:39:33 -07:00
ViewExample.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ViewPagerAndroidExample.android.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
WebSocketExample.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
WebViewExample.js Remove unused styles (#22083) 2018-11-05 13:57:47 -08:00
XHRExample.js Remove var in RNTester (#22014) 2018-10-30 14:39:33 -07:00
XHRExampleBinaryUpload.js Remove var in RNTester (#22014) 2018-10-30 14:39:33 -07:00
XHRExampleCookies.js Remove var in RNTester (#22014) 2018-10-30 14:39:33 -07:00
XHRExampleDownload.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
XHRExampleFetch.js Flow strict TextInput (#22250) 2018-11-21 14:33:48 -08:00
XHRExampleFormData.js Fix linting issues (#22062) 2018-11-01 14:29:16 -07:00
XHRExampleHeaders.js Remove var in RNTester (#22014) 2018-10-30 14:39:33 -07:00
XHRExampleOnTimeOut.js Remove var in RNTester (#22014) 2018-10-30 14:39:33 -07:00
bunny.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
createExamplePage.js Add flow types RNTester examples (#22829) 2018-12-31 08:30:54 -08:00
flux@3x.png fixed image in RNTester snapshot example 2017-08-31 15:16:05 -07:00
hawk.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
helloworld.html Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
http_test_server.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
imageMask.png MaskedViewIOS -- A way to apply alpha masks to views on iOS 2017-07-11 15:05:57 -07:00
messagingtest.html Typos in comments and log messages 2018-01-12 22:18:45 -08:00
relay@3x.png fixed image in RNTester snapshot example 2017-08-31 15:16:05 -07:00
slider-left.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
slider-left@2x.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
slider-right.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
slider-right@2x.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
slider.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
slider@2x.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
uie_comment_highlighted@2x.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
uie_comment_normal@2x.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
uie_thumb_big.png Revert D5189017: [RN] Native implementation of <Image> intrinsic content size on iOS 2017-10-25 08:20:48 -07:00
uie_thumb_normal@2x.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
uie_thumb_selected@2x.png Re-license and rename UIExplorer integration test app as RNTester 2017-05-08 11:31:19 -07:00
websocket_test_server.js JS: Switch from `new Buffer` to `Buffer.from` 2018-11-15 12:13:05 -08:00