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

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