2019-02-28 21:03:22 +01:00
|
|
|
# -*- mode: snippet -*-
|
|
|
|
# uuid: 43afee80-d7ef-41f5-8aa5-2571c4332da0
|
|
|
|
# contributor: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
|
|
|
|
# name: reactClassExportComponent
|
|
|
|
# key: rce
|
|
|
|
# --
|
|
|
|
|
|
|
|
import React, { Component } from 'react'
|
|
|
|
|
|
|
|
export class ${1:${TM_FILENAME_BASE}} extends Component {
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
$0
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-28 21:36:05 +01:00
|
|
|
export default ${1:${TM_FILENAME_BASE}}
|