Skip to content

Instantly share code, notes, and snippets.

@ultimagriever
Created January 19, 2017 20:42
Show Gist options
  • Save ultimagriever/ecb217b842b74380915352980bb259f4 to your computer and use it in GitHub Desktop.
Save ultimagriever/ecb217b842b74380915352980bb259f4 to your computer and use it in GitHub Desktop.
IntelliJ-based File Templates for React Native
import React, { Component } from 'react';
import { View } from 'react-native';
export default class ${COMPONENT} extends Component {
render() {
return (
<View />
);
}
}
import React from 'react';
import { View } from 'react-native';
const ${COMPONENT} = () => (
<View />
);
export default ${COMPONENT};
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