-
Notifications
You must be signed in to change notification settings - Fork 7
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
[SP2] 드롭다운 컴포넌트 추가, 프로젝트 페이지 필터에 적용 #223
Conversation
CI가 돌지 않은 이유는 .. 제가 레거시 필터코드를 제거하지 않았기 때문입니다 ㅜㅜ |
|
||
return ( | ||
<div> | ||
<St.SelectTrigger |
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.
S였군요 .. 후딱 고치겠습니다!! 정말 고마워요!!!!
@@ -34,3 +34,5 @@ type TabTypeOption<T> = { | |||
|
|||
export type TabType = TabTypeOption<Part>; | |||
export type ExtraTabType = TabTypeOption<ExtraPart>; | |||
|
|||
export type LabelKeyType = string | number | symbol; |
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.
question;
key 값의 타입으로 symbol이 오는 경우는 어떤게 있을까요?
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.
Record에서 key 자리에 올 수 있는 타입이 string, number, symbol이라서 일단 이렇게 적어두었어요 ..!
저희는 enum값으로 string이나 number만 쓰게 될 것 같긴 합니다!
const selectItemWrapperRef = useRef<HTMLDivElement>(null); | ||
const selectTriggerRef = useRef<HTMLButtonElement>(null); |
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.
question;
Item과 Trigger 을 각각 div, button 분리해 다른 ref를 사용한 이유가 있나요?
둘 다 같은 ref를 참조해도 되는거 아닌가 싶어서요!
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.
같은 ref를 참조하면 더 밑에 있는 ref가 위에 있는 ref를 덮어쓰게 되지 않나요 ..??!
같은 ref를 참조하는 상황에 대하여 더 자세히 설명 주시면 감사하겠습니닷..!
올릴게요!!! |
Summary
Screenshot
2023-10-19.7.54.37.mov
Comment