Usage example with styled-components and styled-property
Closed this issue · 2 comments
codepunkt commented
This might be interesting for people who are using this with styled-components.
See https://github.com/codepunkt/styled-property#react-sticky-sticky
brysbra commented
@codepunkt Is this still relevant?
I'm trying to use styled-components with react-sticky and I tested the example code from the README but it's not working; styles aren't applied to the StyledSticky
component.
I'm using v6.0.1 of react-sticky
, v2.1.1 of styled-components
and v1.0.2 of styled-property
.
codepunkt commented
styled-components
2.x has made the usage of styled-property
superfluous.