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

[MOB-1873] 토글 이모지 버튼 추가 #66

Merged
merged 3 commits into from
Sep 9, 2024

Conversation

vvvvvoin
Copy link
Contributor

@vvvvvoin vvvvvoin self-assigned this Aug 22, 2024
@vvvvvoin vvvvvoin changed the title [MOB-1873] 이모지 토글 버튼 추가 [MOB-1873] 토글 이모지 버튼 추가 Aug 26, 2024
@vvvvvoin vvvvvoin marked this pull request as ready for review September 3, 2024 11:14
variant: BezierToggleEmojiButtonVariant,
modifier: Modifier = Modifier,
enabled: Boolean = true,
onClick: () -> Unit,
Copy link
Contributor

Choose a reason for hiding this comment

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

onClick 매개변수를 위로 올리는 게 매개변수 순서상 좀 더 일관된다는 느낌을 받는데 어떻게 생각하시나요??

아래 문서에는, trailing lambda가 있는 경우 Composable로 오인할 수 있다.
라는 내용으로 근거삼고 있긴 하네용 Layout 쓰는 경험 생각해보면 그럴 수 있을것 같기도 해요
https://github.com/androidx/androidx/blob/androidx-main/compose/docs/compose-component-api-guidelines.md#parameters-order

Copy link
Contributor Author

Choose a reason for hiding this comment

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

아 이건 잘못 쓴게 완전 맞습니다ㅋㅋㅋㅋ

@sodp5 sodp5 merged commit 0f1cdf8 into channel-io:v2 Sep 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants