u
This commit is contained in:
1 parent
61e29b5f76
commit
157c84b0b4
15 files changed
+598
-320
No files matched your search
+19
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"Print React Native Component (NativeWind)": {
|
||||
"scope": "typescriptreact,javascriptreact",
|
||||
"prefix": "rn",
|
||||
"body": [
|
||||
"import React from \"react\";",
|
||||
"import { View, Text } from \"react-native\";",
|
||||
"",
|
||||
"export default function ${1/(.*)/${1:/pascalcase}/}() {",
|
||||
" return (",
|
||||
" <View className=\"flex-1\">",
|
||||
" <Text className=\"text-base text-black\">${2:Hello RN}</Text>",
|
||||
" </View>",
|
||||
" );",
|
||||
"}"
|
||||
],
|
||||
"description": "React Native NativeWind 函数组件模板"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user