update
This commit is contained in:
parent
ca57edd143
commit
81cdb5b2e1
|
@ -168,3 +168,20 @@ registerBlockType( '${1:namespace}/${2:block-name}', {
|
||||||
},
|
},
|
||||||
} );
|
} );
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet rtw "React + twin.macro"
|
||||||
|
import * as React from "react"
|
||||||
|
import 'twin.macro'
|
||||||
|
|
||||||
|
const `!p snip.rv = snip.basename` = ({ children }) => {
|
||||||
|
return (
|
||||||
|
<$1 tw="$0">
|
||||||
|
{children}
|
||||||
|
</$1>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default `!p snip.rv = snip.basename`
|
||||||
|
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
|
|
@ -198,3 +198,5 @@ dropdown
|
||||||
dropshipping
|
dropshipping
|
||||||
LightInTheBox
|
LightInTheBox
|
||||||
Etsy
|
Etsy
|
||||||
|
Strapi
|
||||||
|
whitepapers
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue