1.0.2 • Published 7 years ago

react-stick-it v1.0.2

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

React StickIt

Simple React sticky without the bullshit.

import React from 'react'
import StickIt from 'react-stick-it'

const Sidebar = props => <div>Sticky sidebar</div>
const scrollAfter = 100

export default StickIt(Sidebar, scrollAfter)

Please note

I don't reserve any credit for this. It's the most basic sticky HOC I put together having read many others out there, this one fits my purpose.

I'm also using this as a way to experiment pushing react components to NPM.

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago