0.1.8 • Published 7 years ago

react-stretchy-header v0.1.8

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

react-stretchy-header

A stretchy image-header for react (DOM), like that seen on ios-native.

There is a demo here, but you'll need to view it on iphone to see the effect.

usage

npm i -S react-stretchy-header

Then, in your code:

import StretchyHeader from 'react-stretchy-header'

const App = () => (<div>
  <StretchyHeader height={200}  image='http://lorempixel.com/600/300/cats/'>
    <div>CONTENT GOES HERE</div>
  <StretchyHeader>
</div>)

Props

action on iOS

This looks more jerky than it is.

thanks

I got a lot of ideas from here.

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago