-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[Toolbar] Add dense variant #12075
[Toolbar] Add dense variant #12075
Conversation
b9f1f6b
to
85902c7
Compare
Could you also add this to the type definitions? |
Sure thing. Just added the type defintion |
982036a
to
eb138e0
Compare
eb138e0
to
2d201e9
Compare
@srilman I have updated the pull request to use the variant property over a boolean. Looking at the specification, there is more variant we might want to support in the future. |
@srilman It's a great first pull request on Material-UI 👌🏻. Thank you for giving it a shot! |
* Address issue mui#11619. Added option for a dense Toolbar. * Fixed actual errors with page * Added type definitions to toolbar dense feature * ready to be merged
Had this around from another project, so I thought I would create a PR.
Not completely sure if it is necessary to modify Typography to make sure that normal font (for titles and such) are smaller when using the dense Toolbar. It is also something that a user can perform manually.
Closes #11619.