add customized yas-snippets

This commit is contained in:
zedhugh committed 2022-11-25 00:53:28 +08:00
1 parent 860395da33
commit df702b9932
10 files changed
+72

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
# -*- mode: snippet -*-
# name: react class component template
# key: rtc
# --
import { Component } from 'react';
class $1 extends Component {
constructor(props) {
super(props);
$2
}
render() {
return (
$0
);
}
}
export default $1;