From ee87bc8f01b3ace4e3407c07aac7c99393cf78ef Mon Sep 17 00:00:00 2001 From: JiangWeixian Date: Tue, 24 Mar 2020 11:34:22 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20(styled-components):=20htm?= =?UTF-8?q?lattributes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- icons-styled-components/template/icon.tsx.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icons-styled-components/template/icon.tsx.tpl b/icons-styled-components/template/icon.tsx.tpl index f09b531..918a862 100644 --- a/icons-styled-components/template/icon.tsx.tpl +++ b/icons-styled-components/template/icon.tsx.tpl @@ -5,7 +5,7 @@ const {{ styledname }} = styled.i` {{{ css }}} ` -export const {{ name }} = React.forwardRef, HTMLElement>((props, ref) => { +export const {{ name }} = React.forwardRef>((props, ref) => { return ( <> <{{ styledname }} {...props} ref={ref} />