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.

17 lines
332 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # uuid: 48f9521a-2b4e-4f71-850e-ecd47261a7a6
  3. # contributor: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
  4. # name: reactFunctionalExportComponent
  5. # key: rfce
  6. # --
  7. import React from 'react'
  8. function ${1:${TM_FILENAME_BASE}}() {
  9. return (
  10. <div>
  11. $0
  12. </div>
  13. )
  14. }
  15. export default ${1:${TM_FILENAME_BASE}}