From da2bf084698d1f1325d7d67e94e54b1bfa13c0d1 Mon Sep 17 00:00:00 2001 From: douara Date: Fri, 13 Oct 2023 20:29:16 +0800 Subject: [PATCH] Fix(FieldList): eslint --- .../{ReactFieldList.stories.js => ReactFieldList.stories.tsx} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename packages/components/field-list/stories/{ReactFieldList.stories.js => ReactFieldList.stories.tsx} (95%) diff --git a/packages/components/field-list/stories/ReactFieldList.stories.js b/packages/components/field-list/stories/ReactFieldList.stories.tsx similarity index 95% rename from packages/components/field-list/stories/ReactFieldList.stories.js rename to packages/components/field-list/stories/ReactFieldList.stories.tsx index 53d68b0aa..6f018fba7 100644 --- a/packages/components/field-list/stories/ReactFieldList.stories.js +++ b/packages/components/field-list/stories/ReactFieldList.stories.tsx @@ -20,7 +20,7 @@ export default { } // Build "Field List" story -const FieldList = ({ example, ...args }) => { +const FieldList = ({ ...args }: { label: string; helper: string }) => { const [list, setList] = useState({}) return (