Skip to content

Commit

Permalink
Remove TextInput's inputView prop
Browse files Browse the repository at this point in the history
Summary:
This if statement is older than June 2015. This prop is undocumented, not part of the flow type, not on our public docs, not in the flow type, not in typescript types, and I can't find any blog posts about it.

Changelog:
[Breaking][TextInput] Removing undocumented `inputView` prop. Use children instead.

Reviewed By: yungsters

Differential Revision: D18296894

fbshipit-source-id: 95373d24659e6f06e212095b57e8f6d713323c11
  • Loading branch information
elicwhite authored and facebook-github-bot committed Nov 4, 2019
1 parent 7ef252b commit 1804e7c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Libraries/Components/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -948,9 +948,6 @@ const TextInput = createReactClass({
</Text>
);
}
if (props.inputView) {
children = [children, props.inputView];
}
props.style.unshift(styles.multilineInput);
textContainer = (
<RCTMultilineTextInputView
Expand Down

0 comments on commit 1804e7c

Please sign in to comment.