diff --git a/fake_home/.vim/templates/skeleton.jsx b/fake_home/.vim/templates/skeleton.jsx new file mode 100644 index 0000000..5608fd7 --- /dev/null +++ b/fake_home/.vim/templates/skeleton.jsx @@ -0,0 +1,9 @@ +const ComponentTodo = ({ text }) => { + return ( +
+ {text} +
+ ) +} + +export default ComponentTodo diff --git a/fake_home/.vim/templates/skeleton.tsx b/fake_home/.vim/templates/skeleton.tsx new file mode 100644 index 0000000..07a02fe --- /dev/null +++ b/fake_home/.vim/templates/skeleton.tsx @@ -0,0 +1,9 @@ +const ComponentTodo: FC<{ text: string }> = ({ text }) => { + return ( +
+ {text} +
+ ) +} + +export default ComponentTodo