Skip to content

Instantly share code, notes, and snippets.

@CodingItWrong
Created January 4, 2019 02:38
Show Gist options
  • Save CodingItWrong/33a117b2772abb0278637ec7113b6b88 to your computer and use it in GitHub Desktop.
Save CodingItWrong/33a117b2772abb0278637ec7113b6b88 to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import {
+ Button,
TextInput,
View,
} from 'react-native';
...
<TextInput
testID="messageText"
/>
+ <Button
+ title="Send"
+ testID="sendButton"
+ />
</View>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment