Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Sara-Samer opened this issue Jun 1, 2020 · 0 comments
Open

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

Sara-Samer opened this issue Jun 1, 2020 · 0 comments

Comments

@Sara-Samer
Copy link

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> )}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant