Set displayName properly when patching React locally. (#1053)
* Using styled-jsx for with-jest example. * Set the displayName of the wraped components. Otherwise it won't get the correct displayName if the original component doesn't provide it by using it's function name.
Showing
想要评论请 注册 或 登录