Created
January 19, 2017 20:42
-
-
Save ultimagriever/ecb217b842b74380915352980bb259f4 to your computer and use it in GitHub Desktop.
IntelliJ-based File Templates for React Native
This file contains hidden or 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
import React, { Component } from 'react'; | |
import { View } from 'react-native'; | |
export default class ${COMPONENT} extends Component { | |
render() { | |
return ( | |
<View /> | |
); | |
} | |
} |
This file contains hidden or 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
import React from 'react'; | |
import { View } from 'react-native'; | |
const ${COMPONENT} = () => ( | |
<View /> | |
); | |
export default ${COMPONENT}; |
This file contains hidden or 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
import { StyleSheet } from 'react-native'; | |
export default StyleSheet.create({ | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment