🐛 (styled-componments): tpl

This commit is contained in:
JiangWeixian 2020-03-24 11:27:09 +08:00
parent d5c7dc4ccf
commit c7ffb3a291
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<React.HtmlHTMLAttributes<HTMLElement>, HTMLElement>>((props, ref) => {
export const {{ name }} = React.forwardRef<React.HtmlHTMLAttributes<HTMLElement>, HTMLElement>((props, ref) => {
return (
<>
<{{ styledname }} {...props} ref={ref} />