kotlin-material-ui
kotlin-material-ui copied to clipboard
Material UI switch clashes with react router dom switch.
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.