Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
const { children, ...breadcrumbProps } = this.props;
const { getContainerProps, getCurrentPageProps } = useBreadcrumb();
return (
/* role not needed as `BreadcrumbView` is a navigation landmark. */
{this.renderItems(children, getCurrentPageProps)}
);
}
}