A antd-based breadcrumbs component for Next.js
nextjs-antd-breadcrumbs
A antd-based breadcrumbs component for Next.js
Installation
yarn add nextjs-antd-breadcrumbs
Usage
The component needs to be used within Next.js and won’t work in plain React.
It will always display a dynamic Breadcrumb navigation, based on the current path of the Next router.
import React from 'react';
import Breadcrumbs from 'nextjs-antd-breadcrumbs';
const Example = () => {
return <Breadcrumbs rootLabel="Home" omitRootLabel={false}/>;
};