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: add elevation property for Menu component #4077

Merged
merged 1 commit into from
Jan 8, 2024
Merged

feat: add elevation property for Menu component #4077

merged 1 commit into from
Jan 8, 2024

Conversation

alexzel
Copy link
Contributor

@alexzel alexzel commented Sep 15, 2023

Adds elevation property for Menu component so we can customize Surface shadow in MD3.

Summary

This PR makes it possible to redefine Surface elevation in the Menu component, so shadow and default background color will be picked based on this value.

Test plan

Make sure when the property is omitted the component looks the same as before the change. Provide Menu component with a custom elevation value.

@callstack-bot
Copy link

Hey @alexzel, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@lukewalczak lukewalczak added this to the 5.12.0 milestone Nov 28, 2023
@lukewalczak lukewalczak merged commit db595b7 into callstack:main Jan 8, 2024
@alexzel
Copy link
Contributor Author

alexzel commented Jan 8, 2024

@lukewalczak thanks!

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.

3 participants