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.
|
# -*- mode: snippet -*-
|
|
# uuid: 5792fd46-6659-42c4-9c71-d7ca7d72a2a0
|
|
# contributor: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
|
|
# name: reactClassExportComponentWithPropTypes
|
|
# key: rcep
|
|
# --
|
|
|
|
import React, { Component } from 'react'
|
|
import PropTypes from 'prop-types'
|
|
|
|
export class ${1:${TM_FILENAME_BASE}} extends Component {
|
|
static propTypes = {
|
|
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<div>
|
|
$0
|
|
</div>
|
|
)
|
|
}
|
|
}
|
|
|
|
export default ${1:${TM_FILENAME_BASE}}
|