about summary refs log blame commit diff
path: root/configs/shared/.emacs.d/snippets/rjsx-mode/react-class-component
blob: f2a93a31d96d3e4bf31056c88a9304ea262ac38b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                  
# -*- mode: snippet -*-
# name: React class extends
# key: clz
# --
class $1 extends React.Component {
  render() {
    $2
  }
}

export default $1