subroh0508 / kotlin-material-ui

[UNMAINTAINED] Kotlin Wrapper Library of Material-UI
MIT License
74 stars 24 forks source link

Material UI switch clashes with react router dom switch. #44

Open marvinbuff opened 3 years ago

marvinbuff commented 3 years ago

Using the materialUi.switch at the same time the react.router.dom.switch is used leads to an issue where only one type of switch is expressed.

How to Reproduce

Try using the routing switch and the material UI switch in the same project. Although the imports and everything is correct, the actually expressed elements will be the same. So always only one type can be created.