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.

22 lines
439 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # uuid: 54fc179d-98f0-44b8-bd39-a66ac67aaf38
  3. # contributor: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
  4. # name: reactClassPureComponentWithPropTypes
  5. # key: rpcp
  6. # --
  7. import React, { PureComponent } from 'react'
  8. import PropTypes from 'prop-types'
  9. export default class ${1:${TM_FILENAME_BASE}} extends PureComponent {
  10. static propTypes = {
  11. }
  12. render() {
  13. return (
  14. <div>
  15. $0
  16. </div>
  17. )
  18. }
  19. }