mirror of https://github.com/astrit/css.gg.git
🐛 (styled-componments): tpl
This commit is contained in:
parent
d5c7dc4ccf
commit
c7ffb3a291
|
|
@ -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} />
|
||||
|
|
|
|||
Loading…
Reference in New Issue