-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add Collapse
component
#381
Conversation
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.
Thank you for this contribution. Good job 👍 Just a few naming things and the semantics custom action to fix.
Maybe you could use our CustomPlaceholder() helper to visualize it with the green box in the preview/screenshot.
ui/src/test/kotlin/kiwi/orbit/compose/ui/controls/CollapseTest.kt
Outdated
Show resolved
Hide resolved
catalog/src/main/java/kiwi/orbit/compose/catalog/screens/CollapseScreen.kt
Outdated
Show resolved
Hide resolved
ui/src/test/kotlin/kiwi/orbit/compose/ui/controls/CollapseTest.kt
Outdated
Show resolved
Hide resolved
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.
Thanks for this contribution. We're going to merge it.
Though we're still discussing some API changes, we will probably revert to your original name onExpandChange
and create a custom semantics action to expose those expand/collapse actions and the current state.
closes #348