react-tuck-header
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

react-tuck-header

A wrapper to make a piece of component to tuck at header while scrolling

Demo: open

Stackblitz Demo : open

NPM JavaScript Style Guide

Install

npm install --save react-tuck-header

Usage

import React, { Component } from 'react'

import MyComponent from 'react-tuck-header'
import 'react-tuck-header/dist/index.css'

class Example extends Component {
  render() {
    return (
      <TuckerComponent classes="overwrite_class">
        <h2>This is header</h2>
      </TuckerComponent>
    )
  }
}

License

MIT © jagannath-mobifyi

npm-modules

Dependencies (0)

    Dev Dependencies (29)

    Package Sidebar

    Install

    npm i react-tuck-header

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    11.6 kB

    Total Files

    9

    Last publish

    Collaborators

    • jagannath18