Expose InputAccessoryView Module
Summary: The latest release of react-native (0.55.2) does not expose the new `InputAccessoryView` component; It can't be accessed at all. This change fixes this problem. * Problem: Snack showing the problem: https://snack.expo.io/B1fDQRYif * Proof: `RNTester` still works with adapted imports No related PRs. [IOS] [BUGFIX] [InputAccessoryView] - Expose `InputAccessoryView` so it can be imported Closes https://github.com/facebook/react-native/pull/18780 Differential Revision: D7581729 Pulled By: hramos fbshipit-source-id: d61ab1f167360e829e32b93fb5414d2f7e57e115
This commit is contained in:
parent
edd22bf49d
commit
80fc415cf1
|
@ -26,6 +26,7 @@ const ReactNative = {
|
|||
get ImageBackground() { return require('ImageBackground'); },
|
||||
get ImageEditor() { return require('ImageEditor'); },
|
||||
get ImageStore() { return require('ImageStore'); },
|
||||
get InputAccessoryView() { return require('InputAccessoryView') },
|
||||
get KeyboardAvoidingView() { return require('KeyboardAvoidingView'); },
|
||||
get ListView() { return require('ListView'); },
|
||||
get MaskedViewIOS() { return require('MaskedViewIOS'); },
|
||||
|
|
|
@ -11,15 +11,18 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
const Alert = require('Alert');
|
||||
const Button = require('Button');
|
||||
const InputAccessoryView = require('InputAccessoryView');
|
||||
const React = require('React');
|
||||
const ScrollView = require('ScrollView');
|
||||
const StyleSheet = require('StyleSheet');
|
||||
const Text = require('Text');
|
||||
const TextInput = require('TextInput');
|
||||
const View = require('View');
|
||||
const ReactNative = require('react-native');
|
||||
const {
|
||||
Alert,
|
||||
Button,
|
||||
InputAccessoryView,
|
||||
ScrollView,
|
||||
StyleSheet,
|
||||
Text,
|
||||
TextInput,
|
||||
View,
|
||||
} = ReactNative;
|
||||
|
||||
class Message extends React.PureComponent<*> {
|
||||
render() {
|
||||
|
|
Loading…
Reference in New Issue