Preferences > Editor > File and Code Templates
/**
* Created by Capricorncd.
* https://github.com/capricorncd
* Date: ${YEAR}-${MONTH}-${DAY} ${HOUR}:${MINUTE}
*/
import React, { Component } from 'react'
import { View, Text, StyleSheet } from 'react-native'
export default class ${NAME} extends Component {
render () {
return (
<View>
<Text></Text>
</View>
)
}
}
const styles = StyleSheet.create({
})
${PROJECT_NAME} - the name of the current project.
${NAME} - the name of the new file which you specify in the New File dialog box during the file creation.
${USER} - the login name of the current user.
${DATE} - the current system date.
${TIME} - the current system time.
${YEAR} - the current year.
${MONTH} - the current month.
${DAY} - the current day of the month.
${H