diff --git a/packages/dataviews/src/components/dataviews/stories/fixtures.tsx b/packages/dataviews/src/components/dataviews/stories/fixtures.tsx index ff098209b3468..6c74c516853c5 100644 --- a/packages/dataviews/src/components/dataviews/stories/fixtures.tsx +++ b/packages/dataviews/src/components/dataviews/stories/fixtures.tsx @@ -558,6 +558,7 @@ export const themeFields: Field< Theme >[] = [ }, { id: 'requires', label: 'Requires at least' }, { id: 'tested', label: 'Tested up to' }, + { id: 'icon', label: 'Icon', render: () => }, { id: 'tags', label: 'Tags', diff --git a/packages/dataviews/src/components/dataviews/stories/index.story.tsx b/packages/dataviews/src/components/dataviews/stories/index.story.tsx index 878677d2eb30c..bf65df2c9cbbd 100644 --- a/packages/dataviews/src/components/dataviews/stories/index.story.tsx +++ b/packages/dataviews/src/components/dataviews/stories/index.story.tsx @@ -141,11 +141,17 @@ export const CombinedFields = () => { layout: { primaryField: 'name', combinedFields: [ + { + id: 'name_tested', + label: 'Theme', // This is not used, but is required for TS. + children: [ 'name', 'tested' ], + direction: 'vertical', + }, { id: 'theme', label: 'Theme', - children: [ 'name', 'description' ], - direction: 'vertical', + children: [ 'icon', 'name_tested' ], + direction: 'horizontal', }, ] as CombinedField[], styles: {