Getting back into snippets

This commit is contained in:
Max Bucknell 2020-03-07 10:46:35 +11:00
parent c5eee9e9df
commit c083c2b083

View file

@ -0,0 +1,5 @@
extends typescript
snippet useState
const [${1:stateValue}, set`!p snip.rv = t[1][:1].upper() + t[1][1:]`] = React.useState<${2:boolean}>(${3:false})$0
endsnippet