-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Fix] LinkButton 사용할 수 있도록 as prop의 네이밍 변경 #146
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hamo-o
requested review from
ghdtjgus76,
eugene028 and
SeieunYoo
as code owners
August 21, 2024 18:04
TextButton, TextButton 스토리 문서화, Button 스토리 문서화 부분에도 반영해야 할 거 같습니다~! |
ghdtjgus76
approved these changes
Aug 22, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고하셨어요!
SeieunYoo
approved these changes
Aug 22, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수고 많으셨어요!! changeset 도 작성해주시면 배포될 거 같습니다~
[Fix] aria-pressed 속성 active 대체 및 useButton 훅 삭제
hamo-o
added a commit
that referenced
this pull request
Aug 26, 2024
* fix: as -> asProp 이름 변경 * fix: Chip 테스트코드 prop 변경 * fix: Button, TextButton as prop 쓰인 부분 수정 * fix: LinkButton 스토리북 prop 이름 변경 * chore: changeset 추가 * fix: pressed 속성 active 속성으로 변경 * remove: useButton 훅 삭제
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🎉 변경 사항
이전에는
next/link
의Link
를as
로 넘겨주면 위와 같은 에러가 나타났습니다. 저는 타입 에러라고 생각해서 한참을 삽질했는데요..허무하게도
Link
자체에as
라는 동일한prop
이 있어 발생한 문제였습니다.컴포넌트 종류를 받을 수 있는
prop
이름을 변경하여 해당 문제를 해결했습니다.🚩 관련 이슈
🙏 여기는 꼭 봐주세요!
Chip
컴포넌트에서도 쓰이는 타입이라 함께 수정된 점 참고 부탁드립니다!