What is the problem ?
There is a warning while using SwipeableSidebar with Tyepscript:
Warning: React does not recognize the `sidebarId` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `sidebarid` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
in div (created by ForwardRef(Drawer))
in ForwardRef(Drawer) (created by WithStyles(ForwardRef(Drawer)))
in WithStyles(ForwardRef(Drawer)) (created by ForwardRef(SwipeableDrawer))
in ForwardRef(SwipeableDrawer) (created by ProxyComponent)
in ProxyComponent (created by ForwardRef(StyledComponent))
in ForwardRef(StyledComponent) (created by PersistentSwipeableSidebar)
in PersistentSwipeableSidebar (created by Context.Consumer)
in SidebarProvider (created by SwipeableSidebar)
Dear Mui-treasury contributors,
What is the problem ? There is a warning while using SwipeableSidebar with Tyepscript:
How to reproduce ?
Best.