summaryrefslogtreecommitdiff
path: root/.emacs.d.back/snippets/rjsx-mode/rc.yasnippet
blob: 945292bcda271f24aa6bef86eea60f03c7ffb8e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- mode: snippet -*-
# name: React component
# key: rc
# --
import React from 'react';

class $1 extends React.Component {
  render() {
    return (
      $0
    )
  }
}

export default $1;