Open alex-dgx opened 5 years ago
Try render props as you want
const SideNavWrapper = (props) => {
return (typeof children === 'function') ? children({ ...props }) : children;
};
Can you please share any exmaple for... const SideNavWrapper = (props) => { return (typeof children === 'function') ? children({ ...props }) : children;
Hi, I can't find a solution for this problem issued in Issue#13
https://github.com/trendmicro-frontend/react-sidenav/issues/13
Can somebody help me?