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

Create GrapesCard #388

Merged
merged 1 commit into from
Nov 8, 2024
Merged

Create GrapesCard #388

merged 1 commit into from
Nov 8, 2024

Conversation

kelianClerc
Copy link
Collaborator

Enregistrement.de.l.ecran.2024-11-08.a.14.11.18.mov

@kelianClerc kelianClerc force-pushed the task/create-grapes-card branch from 7e3b31f to ccfb0ea Compare November 8, 2024 14:07
content: @Composable ColumnScope.() -> Unit,
) {
Card(
onClick = onClick ?: {},
Copy link
Contributor

Choose a reason for hiding this comment

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

you can directly define the {} inside the onClick param to avoid the ?:

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No because I want the user to be able to pass null and rely on that to resolve the ripple behavior

@kelianClerc kelianClerc merged commit f2eafaa into develop Nov 8, 2024
3 checks passed
@kelianClerc kelianClerc deleted the task/create-grapes-card branch November 8, 2024 14:15
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