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.

19 lines
388 B

4 years ago
  1. # -*- mode: snippet -*-
  2. # uuid: 43afee80-d7ef-41f5-8aa5-2571c4332da0
  3. # contributor: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
  4. # name: reactClassExportComponent
  5. # key: rce
  6. # --
  7. import React, { Component } from 'react'
  8. export class ${1:${TM_FILENAME_BASE}} extends Component {
  9. render() {
  10. return (
  11. <div>
  12. $0
  13. </div>
  14. )
  15. }
  16. }
  17. export default ${1:${TM_FILENAME_BASE}}