diff --git a/web/packages/design/src/Icon/script/StoryTemplate.txt b/web/packages/design/src/Icon/script/StoryTemplate.txt
index 1566b54266c9d..895fc4dab3d6e 100644
--- a/web/packages/design/src/Icon/script/StoryTemplate.txt
+++ b/web/packages/design/src/Icon/script/StoryTemplate.txt
@@ -16,12 +16,14 @@
* along with this program. If not, see .
*/
-import React from 'react';
+import { ComponentType } from 'react';
import { Text } from '..';
import Flex from './../Flex';
+import { IconProps } from './Icon';
+
import * as Icon from '.';
export default {
@@ -40,7 +42,13 @@ export const Icons = () => (
);
-const IconBox = ({ IconCmpt, text }) => (
+const IconBox = ({
+ IconCmpt,
+ text,
+}: {
+ IconCmpt: ComponentType;
+ text: string;
+}) => (
{text}