Skip to content

Commit

Permalink
feat: typewind and twin snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
mutewinter committed Mar 15, 2023
1 parent 95552aa commit 0db7954
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions MyUltiSnips/typescriptreact.snippets
Expand Up @@ -17,6 +17,14 @@ const ${1:name} = ({}: $1Props) => {
export default $1;
endsnippet

snippet ta "twin.macro attr" bi
tw="$0"
endsnippet

snippet cw "typewind attr" bi
className={tw.$0}
endsnippet

snippet ct "twind className tw``" bi
className={tw\`$0\`}
endsnippet
Expand Down

0 comments on commit 0db7954

Please sign in to comment.