diff --git a/wagtail/admin/templates/wagtailadmin/panels/tabbed_interface.stories.tsx b/wagtail/admin/templates/wagtailadmin/panels/tabbed_interface.stories.tsx
index 689cceea75..1df864b945 100644
--- a/wagtail/admin/templates/wagtailadmin/panels/tabbed_interface.stories.tsx
+++ b/wagtail/admin/templates/wagtailadmin/panels/tabbed_interface.stories.tsx
@@ -21,19 +21,28 @@ export const Base = Template.bind({});
Base.args = {
self: {
- visible_children: [
- {
- heading: 'Content',
- render_as_object: `
Content
Content Body
`,
- },
- {
- heading: 'Promote',
- render_as_object: `Promote
Promote Body
`,
- },
- {
- heading: 'Settings',
- render_as_object: `Settings
Settings Body
`,
- },
+ visible_children_with_identifiers: [
+ [
+ {
+ heading: 'Content',
+ render_as_object: `Content
Content Body
`,
+ },
+ 'content',
+ ],
+ [
+ {
+ heading: 'Promote',
+ render_as_object: `Promote
Promote Body
`,
+ },
+ 'promote',
+ ],
+ [
+ {
+ heading: 'Settings',
+ render_as_object: `Settings
Settings Body
`,
+ },
+ 'settings',
+ ],
],
},
};
@@ -42,11 +51,14 @@ export const Single = Template.bind({});
Single.args = {
self: {
- visible_children: [
- {
- heading: 'Tab1',
- render_as_object: `Title1
Body Text
`,
- },
+ visible_children_with_identifiers: [
+ [
+ {
+ heading: 'Tab1',
+ render_as_object: `Title1
Body Text
`,
+ },
+ '1',
+ ],
],
},
};
@@ -55,27 +67,42 @@ export const Multiple = Template.bind({});
Multiple.args = {
self: {
- visible_children: [
- {
- heading: 'Tab1',
- render_as_object: `Title 1
Body Text
`,
- },
- {
- heading: 'Tab2',
- render_as_object: `Title 2
Body Text
`,
- },
- {
- heading: 'Tab3',
- render_as_object: `Title 3
Body Text
`,
- },
- {
- heading: 'Tab4',
- render_as_object: `Title 4
Body Text
`,
- },
- {
- heading: 'Tab5',
- render_as_object: `Title 5
Body Text
`,
- },
+ visible_children_with_identifiers: [
+ [
+ {
+ heading: 'Tab1',
+ render_as_object: `Title 1
Body Text
`,
+ },
+ '1',
+ ],
+ [
+ {
+ heading: 'Tab2',
+ render_as_object: `Title 2
Body Text
`,
+ },
+ '2',
+ ],
+ [
+ {
+ heading: 'Tab3',
+ render_as_object: `Title 3
Body Text
`,
+ },
+ '3',
+ ],
+ [
+ {
+ heading: 'Tab4',
+ render_as_object: `Title 4
Body Text
`,
+ },
+ '4',
+ ],
+ [
+ {
+ heading: 'Tab5',
+ render_as_object: `Title 5
Body Text
`,
+ },
+ '5',
+ ],
],
},
};