I am utilizing the Material UI next library for my project and currently working with the List component. Due to the beta version of the library, some parameter names are subject to change. To prevent any future issues, I have decided to create a wrapper around the necessary components. Here is my current list component:
<List dense>
<List className={classes.myListStyles}>
<ListItem disableGutters/>
</List>
</List>
How can I create a wrapper for the List (let's call it myListWrapper) and ListItem so that the wrapper component can manage props and pass them down to the actual Material UI list component?