Skip to content
New issue

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

defaultProps 대신 Required type과 attr 속성 사용하기 #40

Open
YuuRiLee opened this issue Aug 2, 2020 · 0 comments
Open

defaultProps 대신 Required type과 attr 속성 사용하기 #40

YuuRiLee opened this issue Aug 2, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@YuuRiLee
Copy link
Contributor

YuuRiLee commented Aug 2, 2020

styled-components를 업데이트 하면서 defaultProps가 작동하지 않습니다. 이를 해결하기 위해 defaultProps를 Required type과 attr 속성을 이용하여 대체해야합니다.
참고 링크 -> default-props-in-react-typescript
스크린샷 2020-08-02 오후 10 00 15

@YuuRiLee YuuRiLee added the bug Something isn't working label Aug 2, 2020
@YuuRiLee YuuRiLee self-assigned this Aug 2, 2020
@YuuRiLee YuuRiLee changed the title defaultProps 대신 attr 속성 사용하기 defaultProps 대신 Required type과 attr 속성 사용하기 Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant