Created
June 16, 2017 17:21
-
-
Save Bolza/36201e6dca682c03d94048b361643187 to your computer and use it in GitHub Desktop.
VSCode Snippets (React Native)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Create Basic Reactnative Component": { | |
"prefix": "react-native-component", | |
"body": [ | |
"import React, { Component } from 'react';", | |
"import { View, Text } from 'react-native';", | |
"import { connect } from 'react-redux';", | |
"", | |
"class ${2:App}Component extends Component {", | |
" state = {}", | |
"", | |
" render() {", | |
" return (", | |
" <View>", | |
" <Text>Element1</Text>", | |
" </View>", | |
" );", | |
" }", | |
"}", | |
"export default ${2:App}Component;", | |
"" | |
], | |
"description": "Create Basic React Native Component" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment