Nigerian Prince Meme

    @economist/component-stickyfill

    1.2.0 • Public • Published

    By:EconomistBuild StatusBuild StatusCoverage Status

    Stickyfill

    A React implementation of Stickyfill (https://github.com/wilddeer/stickyfill)

    Usage

    This component expects an ES6 environment, and so if you are using this in an app, you should drop in a polyfill library - it has been tested with babel-polyfill but core-js or es6-shim may also work.

    The default export is a React Component, so you can simply import the component and use it within some JSX, like so:

    import Sticky from 'component-stickyfill';
    
    return <Sticky><div className="some-sticky-child" /></Sticky>;

    For more examples on usage, see src/example.es6.

    Install

    npm i -S component-stickyfill

    Run tests

    npm test

    Keywords

    none

    Install

    npm i @economist/component-stickyfill

    DownloadsWeekly Downloads

    1

    Version

    1.2.0

    License

    MIT

    Last publish

    Collaborators

    • wellingtonvieira
    • economist-org-bot
    • rospearce
    • danielmensah
    • raghu-teg
    • indiarex
    • h1masr33
    • dwi-teg
    • rsmutch
    • ctheodoridou
    • cristiangutueconomist
    • edemeconomist
    • israrhussain
    • stevenfisherdev
    • silvialazin
    • nam-econ
    • barneyward
    • uwajacques
    • lgordienko
    • liambird
    • kellybrocklehurst
    • sebastianchumaceiro
    • luketaylor
    • yousea2_economist
    • jblack975
    • krishnapriyaelango
    • azzuhasan
    • simonwtaylor
    • jayyecm
    • bagleycreative
    • kartik.saxena
    • nautiyalmanish
    • matthewarrowsmith
    • rmisyuk
    • dominikacookies
    • cristian.v
    • kamil_p
    • jonleeeconomist
    • angelamaugey
    • farnaz.ostovari
    • grmnd
    • ov212
    • xaviergimenez
    • simmyd91
    • edwilliams
    • umairyounus
    • layo_titi
    • stubez
    • robthomas72
    • johnperagine
    • stevedrog
    • jimhuntyeconomist
    • content-as-a-service
    • cjallen88
    • ashrafiftekhar
    • v.potonya
    • evgenylyndin
    • tonygoodey
    • sugadev.durairaj
    • apoorv_srivastav_infosys
    • markmayer
    • keshav-kishlay
    • sahil-verma02
    • futuraprime
    • diana.carmen
    • economistrobot
    • withoutnations
    • karthikeyaninfy
    • debarshi-banerjee01
    • tuhindasinfy
    • jatin_chaudhari
    • adwaitmathkari
    • utkarsh_nayan
    • jayaselvi
    • shubham20info
    • davidwong.economist.com
    • samlin
    • sumitinfy
    • jedkirby
    • pritika-hundu
    • jceconomist
    • ashwini-chougule
    • a-w-l
    • mikeconway
    • jamespenrice
    • matt-hall-kcc
    • johnvannguyen
    • ferdousiqbal
    • tayoa
    • alexselbyboothroyd
    • elliottmorris
    • jamessedghi
    • stephanienedoklanova
    • gdunton
    • drinkataco
    • fceco
    • tothvoj
    • ecomorant
    • danaciocan
    • mattcouchman
    • kristynolan
    • johti
    • economist-web-team
    • mattpointblank
    • sukh-kinandcarta
    • otomogroove
    • connorpayne
    • samualdjpayne
    • impactyogi
    • lewtur
    • shahdotrahul
    • pedrito77
    • brendanrichards
    • davidkelley87
    • stancek_globallogic
    • kevin-economist
    • matildealiffi
    • gurmukhsingh
    • pads
    • dominik_secka
    • raynelle03
    • robmorgan-tab
    • forpet
    • jonh-econ
    • davidgoodchild
    • mattseconomist
    • grzegpawlik
    • just_ak87
    • fadumoaideed
    • jaroslavhamrak
    • mloveday
    • irfanyasin_teg
    • mbrzek
    • igorshcherba
    • manunes
    • joeawillis
    • johnjameshodgins
    • ethancevans
    • jonny_kc