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

fix: <Toggle> displayName, export문 추가 #16

Merged
merged 2 commits into from
Oct 20, 2023
Merged

fix: <Toggle> displayName, export문 추가 #16

merged 2 commits into from
Oct 20, 2023

Conversation

nijuy
Copy link
Collaborator

@nijuy nijuy commented Oct 20, 2023

1️⃣ 어떤 작업을 했나요? (Summary)

기존 코드에 영향을 미치지 않는 변경사항

  • Toggle 컴포넌트에 displayName 추가

기존 코드에 영향을 미치는 변경사항

  • component/index.ts에 Toggle 관련 export문 추가

    ➡ 만약 Picker보다 이 PR이 먼저 머지된다면!! 이 부분 때문에 feat/picker에서 develop 한번 더 받아와야 할 거 같아요

4️⃣ 체크리스트 (Checklist)

  • main 브랜치의 최신 코드를 pull 받았나요?

* components/index.ts 에 Toggle 관련 export 문을 추가했습니다.
@nijuy nijuy added the fix label Oct 20, 2023
@nijuy nijuy mentioned this pull request Oct 20, 2023
1 task
@@ -39,3 +39,4 @@ export const Toggle = forwardRef<HTMLDivElement, ToggleProps>(
);
}
);
Toggle.displayName = 'Toggle';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

요거 Badge나 다른 곳에도 추가해야 하는 거죵??

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

노션 보면 forwardRef나 점으로 연결된 컴포넌트가 추가 대상으로 되어있어서 뱃지에는 안 붙여도 될 거 같은데 다른 컴포넌트 (버튼들)은 필요할 거 같아요!!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

헉 고렇군요 그럼 저도 추가하겠숨다~!!

@nijuy nijuy merged commit 4e164a5 into develop Oct 20, 2023
1 check passed
@nijuy
Copy link
Collaborator Author

nijuy commented Oct 20, 2023

원래 작업이 끝나면 브랜치도 삭제해야 하지만!!
토글에는 나중에 웹 접근성 개선을 위한 작업이 추가될 거 같아 남겨두겠습니다 👀

@Hanna922 Hanna922 deleted the feat/toggle branch April 16, 2024 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants