about summary refs log tree commit diff
path: root/emacs.d/snippets/rjsx-mode/react-class-component
blob: f2a93a31d96d3e4bf31056c88a9304ea262ac38b (plain) (blame)
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