Skip to content

react-sticky is no longer using the style props  #26

@Sara-Samer

Description

@Sara-Samer

the <StickyContainer> no longer uses the style props instead it requires the inner content of the <Sticky> to be a call back function like this:
{({ style }) => ( <div style={style}> <Content /> </div> )}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions