We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c0eb5b commit b6f7eceCopy full SHA for b6f7ece
typescript-tsx-mode/.yas-parents
@@ -1 +1,4 @@
1
++web-react-mode
2
typescript-mode
3
+rjsx-mode
4
+
typescript-tsx-mode/componentTSX
@@ -0,0 +1,16 @@
+# -*- mode: snippet -*-
+# contributor: Talha Abid
+# name: functionalComponentTSX
+# key: fct
5
+# --
6
+import React from 'react';
7
8
+interface ${1:`(file-name-base buffer-file-name)`}PropTypes {
9
10
+}
11
12
+const $1 = (props: $1PropTypes) => (
13
+ $0
14
+);
15
16
+export { $1 };
0 commit comments