Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
427 B

4 years ago
  1. # -*- mode: snippet -*-
  2. # uuid: c4aa3b3e-82af-434b-acc5-b08bf018e0aa
  3. # contributor: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
  4. # name: reactNativeComponent
  5. # key: rnc
  6. # --
  7. import React, { Component } from 'react'
  8. import { Text, View } from 'react-native'
  9. export default class ${1:${TM_FILENAME_BASE}} extends Component {
  10. render() {
  11. return (
  12. <View>
  13. <Text> ${2:textInComponent} </Text>
  14. </View>
  15. )
  16. }
  17. }