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

[Base] Improve the return type of useSlotProps #33279

Merged
merged 1 commit into from Jun 24, 2022

Commits on Jun 24, 2022

  1. [Base] Improve the return type of useSlotProps

    Make useSlotProps (and the underlying appendOwnerState) aware of the type of element
    on which the props should be applied. Based on this, ownerState will either be present
    or undefined in the resulting type.
    michaldudak committed Jun 24, 2022
    Copy the full SHA
    89295fe View commit details
    Browse the repository at this point in the history