You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a basic React + styled-components setup. Everything is working great until I use the withTheme HOC from styled-components. If I use any HOC's in my components the <PropsTable> no longer renders... Is there a solution to this?
Bug Report
Describe the bug
I have a basic React + styled-components setup. Everything is working great until I use the
withTheme
HOC from styled-components. If I use any HOC's in my components the<PropsTable>
no longer renders... Is there a solution to this?To Reproduce
Docz versions:
docz v0.13.7
docz-theme-default v0.13.7
(I also tried with
0.14.0-alpha.68
on both but still doesn't work..This is my component file
Test.js
and my
Test.mdx
fileExpected behavior
The props table should render like below:
(this only renders when I export the component without the HOC:
export default Test
)Any kind of fix with using HOC's would be helpful...
The text was updated successfully, but these errors were encountered: