There was an error while loading. Please reload this page.
1 parent 07ef3e8 commit 50741dbCopy full SHA for 50741db
src/render/styledComponent.js
@@ -83,6 +83,7 @@ const computeAttrsProps = (input: Attr[], props: any, theme: any): any => {
83
/** Checks whether a ForwardRefElement is a StyledComponent element */
84
export const isStyledElement = (element: ForwardRefElement): boolean %checks =>
85
styledComponents !== undefined &&
86
+ typeof element.type.target !== undefined &&
87
typeof element.type.styledComponentId === 'string'
88
89
/** This is an optimised faux mounting strategy for StyledComponents.
0 commit comments