summaryrefslogtreecommitdiff
path: root/.emacs.d.back/snippets/rjsx-mode/rsc.yasnippet
blob: 00dab7777422675d4fcf8835eefa67ad88ff2c2c (plain)
1
2
3
4
5
6
7
8
9
10
11
# -*- mode: snippet -*-
# name: React stateless component
# key: rsc
# --
import React from 'react';

const $1 = () => (
  $0
)

export default $1