Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
...props,
formatMessage,
breadcrumb,
};
// gen page title
const pageTitle = defaultPageTitleRender(
{
pathname: location.pathname,
...defaultProps,
},
props,
);
// gen breadcrumbProps, parameter for pageHeader
const breadcrumbProps = getBreadcrumbProps({
...props,
breadcrumb,
});
return (
{params => (
<div>
{renderSiderMenu({
...defaultProps,
menuData,
onCollapse,
isMobile,
theme: navTheme,</div>