From 099d782e48f65e0a17ebdb7567f456f2c889803f Mon Sep 17 00:00:00 2001 From: I531348 Date: Wed, 27 Nov 2024 15:14:29 +0100 Subject: [PATCH] improve children story types --- .../ContentAreaToolbar/ContentAreaToolbar.stories.tsx | 3 +++ .../components/ContentContainer/ContentContainer.stories.tsx | 3 +++ .../src/components/ContentHeading/ContentHeading.stories.tsx | 3 +++ 3 files changed, 9 insertions(+) diff --git a/packages/ui-components/src/components/ContentAreaToolbar/ContentAreaToolbar.stories.tsx b/packages/ui-components/src/components/ContentAreaToolbar/ContentAreaToolbar.stories.tsx index 2432cd73f..202df06c6 100644 --- a/packages/ui-components/src/components/ContentAreaToolbar/ContentAreaToolbar.stories.tsx +++ b/packages/ui-components/src/components/ContentAreaToolbar/ContentAreaToolbar.stories.tsx @@ -15,6 +15,9 @@ export default { argTypes: { children: { control: false, + table: { + type: { summary: "ReactNode" }, + }, }, }, } diff --git a/packages/ui-components/src/components/ContentContainer/ContentContainer.stories.tsx b/packages/ui-components/src/components/ContentContainer/ContentContainer.stories.tsx index d35d23310..178426ba2 100644 --- a/packages/ui-components/src/components/ContentContainer/ContentContainer.stories.tsx +++ b/packages/ui-components/src/components/ContentContainer/ContentContainer.stories.tsx @@ -13,6 +13,9 @@ export default { argTypes: { children: { control: false, + table: { + type: { summary: "ReactNode" }, + }, }, }, } diff --git a/packages/ui-components/src/components/ContentHeading/ContentHeading.stories.tsx b/packages/ui-components/src/components/ContentHeading/ContentHeading.stories.tsx index 1846614cb..dc843d5af 100644 --- a/packages/ui-components/src/components/ContentHeading/ContentHeading.stories.tsx +++ b/packages/ui-components/src/components/ContentHeading/ContentHeading.stories.tsx @@ -12,6 +12,9 @@ export default { argTypes: { children: { control: false, + table: { + type: { summary: "ReactNode" }, + }, }, }, }