Minor Changes
18c0d5f4
#1668 Thanks @animecyc! - CustomshouldForwardProp
is being preserved now when using.withComponent
. Also, when passing an additionalshouldForwardProp
in.withComponent
's options (like this:SomeComponent.withComponent('span', { shouldForwardProp })
) it's being composed with the potentially existingshouldForwardProp
.
Patch Changes
-
23faf9ef
#1996 Thanks @Andarist! - Fixed an issue with wrapped class components not having a type for theref
prop. -
0895f1f3
#1995 Thanks @Andarist! - Fixed an issue with typing for theas
prop not being provided to components created using component factories available on thestyled
factory (e.g.styled.div
). -
Updated dependencies [
debaad9a
,58b2bbca
]:- @emotion/utils@1.0.0-next.1
- @emotion/react@11.0.0-next.16
- @emotion/serialize@0.11.15-next.4
- @emotion/babel-plugin@11.0.0-next.16