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

5 years ago
  1. # -*- mode: snippet -*-
  2. # uuid: 6a9c7016-01b0-4c5c-84d6-28a688d81a4b
  3. # contributor: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
  4. # name: reactNativeComponentWithStyles
  5. # key: rncs
  6. # --
  7. import React, { Component } from 'react'
  8. import { Text, StyleSheet, 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. }
  18. const styles = StyleSheet.create({})