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

[Divider] Add component property #9927

Merged
merged 1 commit into from Jan 17, 2018

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jan 17, 2018

It was also the occasion to normalize the piece of logic on the codebase.
We rename the property to Component instead of ComponentProps.

Also, we only explicit the children property when we need to. It's less code.

@oliviertassinari oliviertassinari added new feature New feature or request component: divider This is the name of the generic UI component, not the React module! labels Jan 17, 2018
It was also the occasion to normalize the piece of logic on the codebase.
We rename the propert `Component` instead of `ComponentProps`.

Also, we only explicit the `children` property when we need to.
It's less code.
@oliviertassinari oliviertassinari merged commit 56777ba into mui:v1-beta Jan 17, 2018
@oliviertassinari oliviertassinari deleted the divider-component branch January 17, 2018 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: divider This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant