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

const $2 = ($3) => {
      return (
             $0
      );
};

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