Skip to content

Instantly share code, notes, and snippets.

@pbfrias17
pbfrias17 / Hooks.js
Last active Jun 26, 2019
The components used for the SmartLogic React/React-Native Hooks Blogpost
View Hooks.js
import React, { useEffect } from 'react'
import { Dimensions, Image, StyleSheet } from 'react-native'
const styles = StyleSheet.create({
hook: {
position: 'absolute',
alignSelf: 'center',
resizeMode: 'contain',
width: 150,
height: 300,