Skip to content
This repository has been archived by the owner on Jul 8, 2018. It is now read-only.

handle React.cloneElement in react-decor #107

Closed
amir-arad opened this issue Aug 15, 2017 · 1 comment
Closed

handle React.cloneElement in react-decor #107

amir-arad opened this issue Aug 15, 2017 · 1 comment

Comments

@amir-arad
Copy link
Contributor

amir-arad commented Aug 15, 2017

React.cloneElement(<div>, {cssStates: {...}});

The cssStates prop simply gets added onto the div, and React warns about unknown property.

see wix/stylable#60

@amir-arad
Copy link
Contributor Author

fixed in 4.0.0

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

No branches or pull requests

1 participant