Skip to content

Instantly share code, notes, and snippets.


Mohammed Rashid rashidthedeveloper

View GitHub Profile
View App.js
//import liraries
import React, { Component } from 'react';
import { View, Text, StyleSheet, TouchableOpacity } from 'react-native';
import SwipeableRow from './SwipeableRow';
// create a component
class App extends Component {
render() {
return (
<View style={styles.container}>
View App.js
import React, {Component} from 'react';
import {View, Text, StyleSheet} from 'react-native';
import moment from 'moment';
export default class App extends Component {
constructor(props) {
this.state = {};