From a4104f8bd84e1b4f396178fd1cacaa5262d8c62b Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Tue, 17 Jul 2018 19:38:58 -0300 Subject: [PATCH] Add children to types --- src/core/client/ui/components/Icon/Icon.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/client/ui/components/Icon/Icon.tsx b/src/core/client/ui/components/Icon/Icon.tsx index 4f920f2e5..754a46955 100644 --- a/src/core/client/ui/components/Icon/Icon.tsx +++ b/src/core/client/ui/components/Icon/Icon.tsx @@ -15,6 +15,9 @@ interface InnerProps extends HTMLAttributes { size?: "sm" | "md" | "lg" | "xl"; + /** The name of the icon to render */ + children: string; + /** ref to the HTMLIconElement */ ref?: Ref;