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
480 B

4 years ago
  1. # -*- mode: snippet -*-
  2. # uuid: b36666f2-3ac6-4ee7-9f17-b32d82705306
  3. # contributor: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
  4. # name: reactNativePureComponentExport
  5. # key: rnpce
  6. # --
  7. import React, { PureComponent } from 'react'
  8. import { Text, View } from 'react-native'
  9. export class ${1:${TM_FILENAME_BASE}} extends PureComponent {
  10. render() {
  11. return (
  12. <View>
  13. <Text> ${2:textInComponent} </Text>
  14. </View>
  15. )
  16. }
  17. }
  18. export default ${1:${TM_FILENAME_BASE}}