Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
iOS and Android apps with React Native - React Native Component
import React from 'react';
import { View, Text, Image } from 'react-native';
import PropTypes from 'prop-types';
import styles from './styles';
class ExampleRNComponent extends React.Component {
render() {
return (
<View style={styles.w100}>
<View style={styles.menuTitleWrap}>
ExampleRNComponent.propTypes = {
url: PropTypes.string.isRequired,
title: PropTypes.string.isRequired,
export default ExampleRNComponent;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment