examples/replace-component/src/components/side-bar.js
function CustomSidebarFactory(CloseButton) {
  const SideBar = SidebarFactory(CloseButton);
  const CustomSidebar = (props) => (
    <StyledSideBarContainer>
      <SideBar {...props}/>
    </StyledSideBarContainer>
  );
  return CustomSidebar;
}
function CustomSidebarFactory(CloseButton) {
  const SideBar = SidebarFactory(CloseButton);
  const CustomSidebar = (props) => (
    <StyledSideBarContainer>
      <SideBar {...props}/>
    </StyledSideBarContainer>
  );
  return CustomSidebar;
}
function CustomSidebarFactory ( CloseButton ) { const SideBar = SidebarFactory ( CloseButton ) ; const CustomSidebar = ( props ) => ( < StyledSideBarContainer > < SideBar { ... props } / > < / StyledSideBarContainer > ) ; return CustomSidebar ; }
Custom sidebar will render kepler.gl default side bar adding a wrapper component to edit its style
Custom sidebar will render kepler . gl default side bar adding a wrapper component to edit its style