From 756cf00c318325d97c7e361ce92fa14c602108ae Mon Sep 17 00:00:00 2001 From: "gjaskiewicz@objectivity.co.uk" Date: Mon, 2 Sep 2024 12:21:10 +0200 Subject: [PATCH] fix(ui): fix FormHint TS types --- .../src/components/FormHintTs/FormHint.stories.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/ui-components/src/components/FormHintTs/FormHint.stories.tsx b/packages/ui-components/src/components/FormHintTs/FormHint.stories.tsx index a4ae7bc67..120879df9 100644 --- a/packages/ui-components/src/components/FormHintTs/FormHint.stories.tsx +++ b/packages/ui-components/src/components/FormHintTs/FormHint.stories.tsx @@ -17,7 +17,11 @@ export default { }, } -const Template = ({ children, ...args }) => {children} +type TemplateProps = { + children: React.ReactNode +} + +const Template = ({ children, ...args }: TemplateProps) => {children} Template.propTypes = { children: PropTypes.node, }