🐛 (styled-components): typo of components

This commit is contained in:
JiangWeixian 2020-03-24 11:39:35 +08:00
parent ee87bc8f01
commit 1b754cb958
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ const {{ styledname }} = styled.i`
{{{ css }}}
`
export const {{ name }} = React.forwardRef<HTMLElement, React.AllHTMLAttributes<HTMLElement>>((props, ref) => {
export const {{ name }} = React.forwardRef<HTMLElement, React.HTMLAttributes<HTMLElement>>((props, ref) => {
return (
<>
<{{ styledname }} {...props} ref={ref} />