@zendeskgarden/react-breadcrumbs
This package includes components relating to breadcrumbs in the
Garden Design System.
Installation
npm install @zendeskgarden/react-breadcrumbs
npm install react react-dom styled-components @zendeskgarden/react-theming
Usage
import { ThemeProvider } from '@zendeskgarden/react-theming';
import { Breadcrumb } from '@zendeskgarden/react-breadcrumbs';
import { Anchor } from '@zendeskgarden/react-buttons';
<ThemeProvider>
<Breadcrumb>
<Anchor href="/">Root</Anchor>
<Anchor href="..">Parent</Anchor>
<span>Self</span>
</Breadcrumb>
</ThemeProvider>;