Skip to content

Instantly share code, notes, and snippets.

@JackHowa
Created June 1, 2018 00:23
Show Gist options
  • Save JackHowa/013ece252ba03eddd857e137a4fd17c4 to your computer and use it in GitHub Desktop.
Save JackHowa/013ece252ba03eddd857e137a4fd17c4 to your computer and use it in GitHub Desktop.
this is a running list of helpful commands for react native
# see available devices for the simulator
xcrun simctl list devices
react-native run-ios --simulator="iPhone 10"
@JackHowa
Copy link
Author

JackHowa commented Jun 1, 2018

import React from 'react';
import { View, Text } from 'react-native';

const CompanyLogo = () => {
	const { viewStyle } = styles;
	return (
		<View style={viewStyle}>
			<Text>Logo Here</Text>
		</View>);


}; 

const styles = {
	viewStyle: {
		width: 50,
		height: 50
	}
}

export default CompanyLogo;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment