forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request facebook#840 from amgleitman/amgleitman/0.64-merge…
…-2020-10-14 Merge from upstream through 2020-10-14
- Loading branch information
Showing
202 changed files
with
12,464 additions
and
13,099 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* Copyright (c) Facebook, Inc. and its affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
* @flow strict-local | ||
* @format | ||
*/ | ||
|
||
'use strict'; | ||
|
||
import ReactNativeViewViewConfig from '../../Components/View/ReactNativeViewViewConfig'; | ||
import type {ReactNativeBaseComponentViewConfig} from '../../Renderer/shims/ReactNativeTypes'; | ||
|
||
const RCTPickerViewConfig = { | ||
uiViewClassName: 'RCTPicker', | ||
bubblingEventTypes: { | ||
topChange: { | ||
phasedRegistrationNames: { | ||
bubbled: 'onChange', | ||
captured: 'onChangeCapture', | ||
}, | ||
}, | ||
}, | ||
directEventTypes: {}, | ||
validAttributes: { | ||
...ReactNativeViewViewConfig.validAttributes, | ||
color: {process: require('../../StyleSheet/processColor')}, | ||
fontFamily: true, | ||
fontSize: true, | ||
fontStyle: true, | ||
fontWeight: true, | ||
items: true, | ||
onChange: true, | ||
selectedIndex: true, | ||
textAlign: true, | ||
}, | ||
}; | ||
|
||
module.exports = (RCTPickerViewConfig: ReactNativeBaseComponentViewConfig<>); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.