u
This commit is contained in:
1 parent
230f3bdf5c
commit
6300778150
36 files changed
+867
-322
No files matched your search
+9
-6
@@ -1,19 +1,22 @@
|
||||
{
|
||||
"Print React Native Component (NativeWind)": {
|
||||
"Print LayoutView Scroll Example (NativeWind)": {
|
||||
"scope": "typescriptreact,javascriptreact",
|
||||
"prefix": "rn",
|
||||
"body": [
|
||||
"import React from \"react\";",
|
||||
"import { View, Text } from \"react-native\";",
|
||||
"import LayoutView from \"@/components/layout/view\";",
|
||||
"import { 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>",
|
||||
" <LayoutView>",
|
||||
" <LayoutView.ScrollView>",
|
||||
" <Text className=\"text-base text-black\">${2:Hello}</Text>",
|
||||
" </LayoutView.ScrollView>",
|
||||
" </LayoutView>",
|
||||
" );",
|
||||
"}"
|
||||
],
|
||||
"description": "React Native NativeWind 函数组件模板"
|
||||
"description": "LayoutView + ScrollView 结构组件模板"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user