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

feat: allow to specify button's mode in CardAction #3276

Merged
merged 1 commit into from
Aug 8, 2022

Conversation

lukewalczak
Copy link
Member

Solves: #3274

Summary

PR extending button within card action by adding condition whether the button's mode in child props is provided.

ios android
Zrzut ekranu 2022-07-25 o 11 43 36 Zrzut ekranu 2022-07-25 o 11 43 39

Test plan

Added test covering change.

@github-actions
Copy link

The mobile version of example app from this branch is ready! You can see it here

.

@tc-imba
Copy link

tc-imba commented Jul 25, 2022

Looks great! And how about the "style" props? It seems that the Button style will be overwritten as well, is it meant to be customizable or not?

@lukewalczak
Copy link
Member Author

Looks great! And how about the "style" props? It seems that the Button style will be overwritten as well, is it meant to be customizable or not?

I think there is no need for that - border radius is controlled by roundness from the theme, additionally there are dedicated props for handling colors. If I miss some example of styled button in accordance with MD, please let me know.

Copy link
Member

@slavikdenis slavikdenis left a comment

Choose a reason for hiding this comment

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

Looks good! LGTM

@lukewalczak lukewalczak merged commit b674199 into main Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants