-
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
[Feature] Radio button, Divider 페이지 마크업 #191
base: main
Are you sure you want to change the base?
Conversation
|
Size Change: 0 B Total Size: 680 kB ℹ️ View Unchanged
|
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.
수고하셨습니다~~ 미리 어푸룹 하겠습니당
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.
저번 회의 때 저희 서비스 이미지는 복잡하지 않아서(애니메이션, 그라데이션 같은..) svg 로 해도 큰 렌더링 이슈는 생기지 않을 거 같다는 의견이 있었는데 우선 svg 확장자로 통일해보면 어떨까요?!
<Title | ||
main="Radio button" | ||
sub="사용자가 선택할 수 있는 항목 중 하나만 선택할 수 있는 컴포넌트입니다." | ||
variant="header" | ||
/> |
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.
p4;
pageData 에 있는 데이터를 사용하는 게 유지보수 측면에서 좋을 거 같아요~!!
@@ -0,0 +1,40 @@ | |||
import type { Item } from "@components/ImageCards"; | |||
|
|||
export const PCItems: Item[] = [ |
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.
p4;
camel case 로 통일하는 게 좋을 거 같아요~
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.
어프룹 누릅니다! 세은님 코멘트처럼 svg 확장자 확인하시고 pageData를 사용하시면 더더 좋을거같아요!
</Text> | ||
<Space height={20} /> | ||
<Card> | ||
<RadioGroup defaultValue="selected"> |
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.
🎉 변경 사항
Radio button
페이지,Dvider
페이지 마크업합니다.🙏 여기는 꼭 봐주세요!
key
값을 스프레드 연산자로 넘기면 경고가 발생하여, 직접 넘기도록 수정했습니다. 명시적으로 표기하는 게 좋다고 합니다.ImageCards
에서도 이미지 경로가 유니크 한 값이라고 판단하여key
로 넘겨주었습니다.