codesandbox

styled-components is saying wrapped styled() around your React component (Component)

送分小仙女□ 提交于 2019-11-27 07:44:43
问题 I have my app in CodeSandbox using styled-component. Please refer the below url https://lrn6vmq297.sse.codesandbox.io/ Everytime I made some changes, the console is saying. Warning: Prop `className` did not match. It looks like you've wrapped styled() around your React component (Component), but the className prop is not being passed down to a child. No styles will be rendered unless className is composed within your React component. and UI does not render as expected. Anyone has idea why I