Skip to content

About

Reactjs Sticky

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

reactjs-s4y

npm version npm npm All Contributors

Installation

NPM

To install the latest stable version:

npm install --save reactjs-s4y

Basic usage:

import React, { Component } from 'react';
import Sticky from 'reactjs-s4y';

export default const App {

  return <Sticky
          containerSelectorFocus=".App"
          stickyEnableRange={[768, Infinity]}
        >
      <img
        src="https://images.unsplash.com/photo-1673169128434-90faeb36aaa3?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2370&q=80"
        alt=""
    />
  </Sticky>;
}

About

Reactjs Sticky

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages