mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
121141c86b
Summary: Convert AndroidDialogPicker to JS view configs Changelog: [Internal] Reviewed By: ejanzer Differential Revision: D23911673 fbshipit-source-id: d5fefa997432f0096308ab5593ba74c2c07b71e1
31 lines
793 B
JavaScript
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);
|