-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { Meta, Canvas, ArgTypes } from '@storybook/addon-docs'; | ||
import { Breadcrumbs, BreadcrumbList, BreadcrumbItem, BreadcrumbPage, BreadcrumbLink, BreadcrumbSeparator, breadcrumbsTheme } from '../../../src/layout/Breadcrumbs'; | ||
import * as BreadcrumbsStories from '../../../src/layout/Breadcrumbs/Breadcrumbs.story'; | ||
import ThemeRender from '../../ThemeRender.tsx'; | ||
|
||
<Meta title="Docs/Components/Layout/Breadcrumbs" /> | ||
|
||
# Breadcrumbs | ||
Breadcrumbs are a navigation component that shows the user's location within a website or application. | ||
|
||
## Example | ||
<Canvas sourceState="shown" of={BreadcrumbsStories.Basic}/> | ||
|
||
## Theme | ||
This component uses the following default theme: | ||
|
||
<ThemeRender theme={breadcrumbsTheme} /> | ||
|
||
Learn more about how to customize in the [Theme documentation](?path=/docs/docs-theme-getting-started--docs). | ||
|
||
## API | ||
|
||
### Breadcrumbs | ||
<ArgTypes of={Breadcrumbs} /> | ||
|
||
### BreadcrumbList | ||
<ArgTypes of={BreadcrumbList} /> | ||
|
||
### BreadcrumbLink | ||
<ArgTypes of={BreadcrumbLink} /> | ||
|
||
### BreadcrumbSeparator | ||
<ArgTypes of={BreadcrumbSeparator} /> |