add customized yas-snippets
This commit is contained in:
10 files changed
+72
No files matched your search
@@ -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;
|
||||
Reference in new issue
Block a user