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.

20 lines
467 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # uuid: 27262af6-b8a7-4165-bbfb-815f62eb3d4f
  3. # contributor: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
  4. # name: reactNativeComponentExport
  5. # key: rnce
  6. # --
  7. import React, { Component } from 'react'
  8. import { Text, View } from 'react-native'
  9. export class ${1:${TM_FILENAME_BASE}} extends Component {
  10. render() {
  11. return (
  12. <View>
  13. <Text> ${2:textInComponent} </Text>
  14. </View>
  15. )
  16. }
  17. }
  18. export default ${1:${TM_FILENAME_BASE}}