Skip to content

Instantly share code, notes, and snippets.

View hamidhadi's full-sized avatar
🎺

Hamid hamidhadi

🎺
View GitHub Profile
@hamidhadi
hamidhadi / withStretchy.js
Created April 22, 2020 12:35
WithStretchy
import React from 'react';
import { View, Animated } from 'react-native';
import { commonStyles } from './styles';
import { StretchyProps } from '../types';
import { StretchyImage } from './stretchyImage';
import { useStretchy, UseStretchyOutput } from '../hooks/useStretchy';
export interface WithStretchyProps {
stretchy: UseStretchyOutput;
}
@hamidhadi
hamidhadi / legacyStretchyHeader.js
Created April 22, 2020 10:22
Legacy Stretchy Header
import React, {Component} from 'react'
import {
View,
ScrollView,
Animated
} from 'react-native'
import PropTypes from 'prop-types'
import StretchyBase from './StretchyBase'
import ImageWrapperComponent from './ImageWrapperComponent'
import Styles from './styles'
@hamidhadi
hamidhadi / keybase.md
Last active April 27, 2018 07:12
Keybase

Keybase proof

I hereby claim:

  • I am hamidhadi on github.
  • I am hamidhadi (https://keybase.io/hamidhadi) on keybase.
  • I have a public key ASC1l6bu-NKzjttQUrJiueiswffSi_tB4d58vqkRMo8ReAo

To claim this, I am signing this object: