How to use the @ant-design/pro-layout/es/utils/getBreadcrumbProps.getBreadcrumbProps function in @ant-design/pro-layout

To help you get started, we’ve selected a few @ant-design/pro-layout examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Jkanon / webmagician-ui / src / layouts / Components / ProLayout / index.tsx View on Github external
...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>