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

[Popover] Allow to pass repeated props to modal #12459

Merged
merged 2 commits into from
Aug 10, 2018

Conversation

davibq
Copy link
Contributor

@davibq davibq commented Aug 9, 2018

Allowing to pass repeated props to modal. For example, it's impossible to pass the classes prop to the modal.

Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

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

It's not the first time we face such issue. We have been using the following solution in the past:
https://github.com/mui-org/material-ui/blob/a207808404a703d1ea2b03ac510343be6404b166/packages/material-ui/src/InputLabel/InputLabel.js#L113-L116

What do you think about it? Do you want to update the pull request?

@oliviertassinari oliviertassinari added the PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI label Aug 9, 2018
@davibq
Copy link
Contributor Author

davibq commented Aug 9, 2018

PR updated.
@oliviertassinari could you help me with this error please Should not have any git not staged?
Not sure what's causing it.

@davibq davibq force-pushed the popover-modalprops branch from 83b1a24 to db624ee Compare August 9, 2018 23:13
@oliviertassinari oliviertassinari added new feature New feature or request component: Popover The React component. and removed PR: needs revision The pull request can't be merged. More details is available on the code review or fails in the CI labels Aug 10, 2018
@oliviertassinari oliviertassinari merged commit 8610f87 into mui:master Aug 10, 2018
@oliviertassinari
Copy link
Member

@davibq It's a great first pull request on Material-UI 👌🏻. Thank you for giving it a shot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Popover The React component. new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants