diff --git a/RNTester/js/TextInputExample.macos.js b/RNTester/js/TextInputExample.macos.js index ff5f2ac753..e3468c0760 100644 --- a/RNTester/js/TextInputExample.macos.js +++ b/RNTester/js/TextInputExample.macos.js @@ -11,7 +11,7 @@ 'use strict'; const Button = require('Button'); -const InputAccessoryView = require('InputAccessoryView'); +// const InputAccessoryView = require('InputAccessoryView'); const React = require('react'); const ReactNative = require('react-native'); const {Text, TextInput, View, StyleSheet, Slider, Switch, Alert} = ReactNative; @@ -91,37 +91,37 @@ class TextEventsExample extends React.Component<{}, $FlowFixMeState> { } } -class TextInputAccessoryViewExample extends React.Component<{}, *> { - /* $FlowFixMe(>=0.85.0 site=react_native_ios_fb) This comment suppresses an - * error found when Flow v0.85 was deployed. To see the error, delete this - * comment and run Flow. */ - constructor(props) { - super(props); - this.state = {text: 'Placeholder Text'}; - } - - render() { - const inputAccessoryViewID = 'inputAccessoryView1'; - return ( - - this.setState({text})} - value={this.state.text} - /> - - -