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.

24 lines
466 B

4 years ago
  1. # -*- mode: snippet -*-
  2. # uuid: 5792fd46-6659-42c4-9c71-d7ca7d72a2a0
  3. # contributor: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
  4. # name: reactClassExportComponentWithPropTypes
  5. # key: rcep
  6. # --
  7. import React, { Component } from 'react'
  8. import PropTypes from 'prop-types'
  9. export class ${1:${TM_FILENAME_BASE}} extends Component {
  10. static propTypes = {
  11. }
  12. render() {
  13. return (
  14. <div>
  15. $0
  16. </div>
  17. )
  18. }
  19. }
  20. export default ${1:${TM_FILENAME_BASE}}