Skip to content

Instantly share code, notes, and snippets.

Avatar
💪
修仙中...

Gavin Chan cnscorpions

💪
修仙中...
View GitHub Profile
@cnscorpions
cnscorpions / gist:e641a8b0a7c12640048be37e5d85abe7
Last active Feb 22, 2020
create sublime 3 snippet for react
View gist:e641a8b0a7c12640048be37e5d85abe7
<snippet>
<content><![CDATA[
import React, { Component } from 'react';
class ${1:${TM_FILENAME/(.+)\..+|.*/$1/:ComponentName}} extends Component {
render() {
return (
${2:<div>${0}</div>}
);
}