Files
react-native/Libraries/Components/Picker/AndroidDialogPickerViewConfig.js
T
Lulu Wu 121141c86b Convert AndroidDialogPicker to JS view configs
Summary:
Convert AndroidDialogPicker to JS view configs

Changelog: [Internal]

Reviewed By: ejanzer

Differential Revision: D23911673

fbshipit-source-id: d5fefa997432f0096308ab5593ba74c2c07b71e1
2020-09-29 05:16:48 -07:00

31 lines
793 B
JavaScript

/**
* 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 type {GeneratedViewConfig} from '../../Utilities/registerGeneratedViewConfig';
const AndroidDialogPickerViewConfig = {
uiViewClassName: 'AndroidDialogPicker',
bubblingEventTypes: {},
directEventTypes: {},
validAttributes: {
color: {process: require('../../StyleSheet/processColor')},
backgroundColor: {process: require('../../StyleSheet/processColor')},
enabled: true,
items: true,
prompt: true,
selected: true,
onSelect: true,
},
};
module.exports = (AndroidDialogPickerViewConfig: GeneratedViewConfig);