We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External Component를 styled-componets를 이용해서 styling을 하는 과정에서 넘긴 property를 Styled Component에서 그대로 받아썼다.
styled-componets
그 결과, 다음과 같은 에러가 발생했다.
Warning: React does not recognize the '[프로퍼티 명]' prop on a DOM element.
const Input = styled(({ isDirty, ...rest }) => ( <StyledInput {...rest} /> ))` ${({ isDirty }) => isDirty && css` border: 1px solid rgba(48, 61, 220, 0.25); background: rgba(142, 172, 255, 0.07); `}; `;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
❗️ How did I encounter this issue?
External Component를
styled-componets
를 이용해서 styling을 하는 과정에서 넘긴 property를 Styled Component에서 그대로 받아썼다.그 결과, 다음과 같은 에러가 발생했다.
Warning: React does not recognize the '[프로퍼티 명]' prop on a DOM element.
🔨 What have I tried? How did you finally solve it?
🙏 Reference
The text was updated successfully, but these errors were encountered: