about summary refs log tree commit diff
path: root/configs/shared/emacs/.emacs.d/snippets/rjsx-mode/typed-redux-action
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/emacs/.emacs.d/snippets/rjsx-mode/typed-redux-action')
-rw-r--r--configs/shared/emacs/.emacs.d/snippets/rjsx-mode/typed-redux-action5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/shared/emacs/.emacs.d/snippets/rjsx-mode/typed-redux-action b/configs/shared/emacs/.emacs.d/snippets/rjsx-mode/typed-redux-action
new file mode 100644
index 0000000000..a4ef0181cd
--- /dev/null
+++ b/configs/shared/emacs/.emacs.d/snippets/rjsx-mode/typed-redux-action
@@ -0,0 +1,5 @@
+# -*- mode: snippet -*-
+# name: typed-redux-action
+# key: trax
+# --
+export const ${1:$$(lower->caps yas-text)}: '`(downcase (buffer-dirname))`/${1:$(caps->kebab yas-text)}' = '`(downcase (buffer-dirname))`/${1:$(caps->kebab yas-text)}'
\ No newline at end of file