Fixing TextInput related jest tests

Reviewed By: yungsters

Differential Revision: D10519823

fbshipit-source-id: 02368b670953a0275fa6495b0c73ef84403598cb
This commit is contained in:
Eli White
2018-11-07 18:42:19 -08:00
committed by Facebook Github Bot
parent ad7d8f89ef
commit 7e818aed9a
2 changed files with 3 additions and 1 deletions

View File

@@ -585,6 +585,8 @@ const TextInputWithRef = React.forwardRef((props, ref) => (
<TextInput {...props} forwardedRef={ref} />
));
TextInputWithRef.displayName = 'TextInput';
const styles = StyleSheet.create({
multilineInput: {
// This default top inset makes RCTMultilineTextInputView seem as close as possible