summaryrefslogtreecommitdiff
path: root/.emacs.d.back/snippets/web-mode/rcc.yasnippet
blob: 16351182e7f358cd7150b98e6134967329eb0ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- mode: snippet -*-
# name: React Class Component
# key: rcc
# --
import React, { Component } from 'react';
import $1 from 'react-native';

class $2 extends Component {
      render() {
               $0
      }
}

export default ${2:$(yas-text)};