Skip to content

Instantly share code, notes, and snippets.

View johnkyony's full-sized avatar

john kyony johnkyony

  • korujams
  • capetown
View GitHub Profile
@johnkyony
johnkyony / BottomTabNavigator.js
Created January 21, 2020 08:57
React Native - Tab Navigation (removing labels)
import React from 'react';
import {View,Text} from 'react-native';
import { createBottomTabNavigator } from 'react-navigation-tabs';
import ScreenOne from '../screens/ScreenOne';
import ScreenTwo from '../screens/ScreenTwo';
const BottomTabNavigator = createBottomTabNavigator({
One: ScreenOne,
Two: ScreenTwo
@johnkyony
johnkyony / README.md
Created January 21, 2020 08:57
React Native - Tab Navigation (Screens)

Full repository here.

<template>
<div>
<br>
<div class="row row-cols-1 row-cols-md-2">
<div class="col mb-4">
<div class="card">
<div v-if="imageData!=null">
<img :src="idPicture" class="card-img-top" alt="#">
</div>
Html Syntax
-trees: type of data
- parent ( Parent to siblings)
- child ; child
-<div> : division : groups content together
-<div> content </div> : content is just not text , can be anything . therefore div is the parent to content inside
Html Structure Part 2
-doctype: describes type of htl
- different types (html: common)
-<head></head> : describes meta information about site ( site title , links)
@johnkyony
johnkyony / README.md
Created February 8, 2018 22:25
Installing React-Native on Ubuntu

First, you'll need NodeJS and NPM:

sudo apt install curl
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
nodejs -v
v8.4.0