about summary refs log tree commit diff
path: root/configs/shared/emacs/.emacs.d/snippets/rjsx-mode/import-react
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/emacs/.emacs.d/snippets/rjsx-mode/import-react')
-rw-r--r--configs/shared/emacs/.emacs.d/snippets/rjsx-mode/import-react5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/shared/emacs/.emacs.d/snippets/rjsx-mode/import-react b/configs/shared/emacs/.emacs.d/snippets/rjsx-mode/import-react
new file mode 100644
index 000000000000..0463f5cd5593
--- /dev/null
+++ b/configs/shared/emacs/.emacs.d/snippets/rjsx-mode/import-react
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: Import React dependency (ES6)
+# key: ir
+# --
+import React from 'react'