0.1.8 • Published 8 years ago

react-stretchy-header v0.1.8

Weekly downloads
2
License
MIT
Repository
github
Last release
8 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

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago