Skip to content

Commit 1804e7c

Browse files
elicwhitefacebook-github-bot
authored andcommitted
Remove TextInput's inputView prop
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
1 parent 7ef252b commit 1804e7c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Libraries/Components/TextInput/TextInput.js

-3
Original file line numberDiff line numberDiff line change
@@ -948,9 +948,6 @@ const TextInput = createReactClass({
948948
</Text>
949949
);
950950
}
951-
if (props.inputView) {
952-
children = [children, props.inputView];
953-
}
954951
props.style.unshift(styles.multilineInput);
955952
textContainer = (
956953
<RCTMultilineTextInputView

0 commit comments

Comments
 (0)