0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Update breadcrumbs.stories.tsx to page_breadcrumbs.stories.tsx

This commit is contained in:
Sage Abdullah 2023-09-08 16:45:53 +01:00
parent d95c1ecde2
commit df1f44e8e6
No known key found for this signature in database
GPG Key ID: EB1A33CC51CC0217

View File

@ -4,7 +4,7 @@ import { Pattern, generateDocs } from 'storybook-django/src/react';
import { StimulusWrapper } from '../../../../../client/storybook/StimulusWrapper';
import { RevealController } from '../../../../../client/src/controllers/RevealController';
import template from './breadcrumbs.html';
import template from './page_breadcrumbs.html';
const { docs, argTypes } = generateDocs(template);
@ -30,7 +30,7 @@ export const Base = Template.bind({});
Base.args = {
url_root_name: 'wagtailadmin_explore_root',
url_name: 'wagtailadmin_explore',
pages: [
items: [
{
is_root: true,
id: 2,
@ -48,7 +48,7 @@ export const WithTrailingTitle = Template.bind({});
WithTrailingTitle.args = {
url_root_name: 'wagtailadmin_explore_root',
url_name: 'wagtailadmin_explore',
pages: [
items: [
{
is_root: true,
id: 2,
@ -75,7 +75,7 @@ export const MultipleItems = Template.bind({});
MultipleItems.args = {
url_root_name: 'wagtailadmin_explore_root',
url_name: 'wagtailadmin_explore',
pages: [
items: [
{
is_root: true,
id: 2,
@ -110,7 +110,7 @@ Expanded.args = {
url_root_name: 'wagtailadmin_explore_root',
url_name: 'wagtailadmin_explore',
is_expanded: 'True',
pages: [
items: [
{
is_root: true,
id: 2,