mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
update plugins
ran the plugin update script
This commit is contained in:
@ -42,11 +42,24 @@ snippet pt
|
||||
static propTypes = {
|
||||
${1}: React.PropTypes.${2:type},
|
||||
}
|
||||
snippet rfc
|
||||
const ${1:ComponentName} = (${2:props}) => {
|
||||
return (
|
||||
<div>
|
||||
$1
|
||||
</div>
|
||||
);
|
||||
}
|
||||
snippet rcc
|
||||
class ${1:ClassName} extends React.Component {
|
||||
state = {
|
||||
|
||||
}
|
||||
render() {
|
||||
return (
|
||||
${0:<div />}
|
||||
<div>
|
||||
$1
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user