Skip to content

Instantly share code, notes, and snippets.

💭
Puro pinche app making!

Sara Inés Calderón SaraChicaD

💭
Puro pinche app making!
Block or report user

Report or block SaraChicaD

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@SaraChicaD
SaraChicaD / React_Native_Twitter_Embed.js
Last active Oct 28, 2019
Code to embed a web Twitter tweet into a React Native app
View React_Native_Twitter_Embed.js
import React, { Component } from 'react'
import { WebView } from 'react-native-webview';
import { StyleSheet, ScrollView, View } from 'react-native';
import PropTypes from 'prop-types';
// adapted from: https://stackoverflow.com/a/49310105/4488853
class Tweet extends Component {
static propTypes = {
tweetUrl: PropTypes.string,
};
@SaraChicaD
SaraChicaD / PR_Template.md
Last active Aug 16, 2019
Pull request / PR template for teams that have a lot of hands in the pie, and or would like to promote code review practices.
View PR_Template.md

PR Template

What is a PR? It is a request to add new code to the core project, so this has to be clean code, which is why we have this template to make sure we're only submitting clean code to our core code base.

What this PR does

(Summary of the PR issue, perhaps ticket number & fix -- specifically list the steps you took to address the problem. Ex: 1.) Added props, 2.) edited styles...)

How to test this PR

(Explain how to test the new features added in the PR, for example: "When you click the new icon you should go to the next screen, etc.")

Additional issues / comments / considerations

You can’t perform that action at this time.