Skip to content

Commit

Permalink
[+] bump v4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
minwe committed May 18, 2018
1 parent 1d51929 commit f2954f2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -43,7 +43,10 @@ For example, to create a new React class, type `rcc` and press `Tab` or press `C
### `rcls`

```js
class $COMPONENT$ extends PureComponent {
import React, { Component } from 'react';
import PropTypes from 'prop-types';

class $COMPONENT$ extends Component {
static defaultProps = {
$START$
};
Expand Down
2 changes: 1 addition & 1 deletion jetbrains/templates/ReactJS.xml
@@ -1,7 +1,7 @@
<templateSet group="ReactJS">
<template
name="rcls"
value="class $COMPONENT$ extends PureComponent {&#10; static defaultProps = {&#10; $START$&#10; };&#10;&#10; static propTypes = {&#10; };&#10;&#10; state = {&#10; };&#10;&#10; render() {&#10; return (&#10; &lt;div&gt;$END$&lt;/div&gt;&#10; );&#10; }&#10;}&#10;&#10;export default $COMPONENT$;&#10;"
value="import React, { Component } from &apos;react&apos;;&#10;import PropTypes from &apos;prop-types&apos;;&#10;&#10;class $COMPONENT$ extends Component {&#10; static defaultProps = {&#10; $START$&#10; };&#10;&#10; static propTypes = {&#10; };&#10;&#10; state = {&#10; };&#10;&#10; render() {&#10; return (&#10; &lt;div&gt;$END$&lt;/div&gt;&#10; );&#10; }&#10;}&#10;&#10;export default $COMPONENT$;&#10;"
description="React: Create a React ES2015 class"
toReformat="true"
toShortenFQNames="true">
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "jetbrains-react",
"version": "4.0.0",
"version": "4.0.1",
"description": "React snippets(live templates) for JetBrains series editors.",
"main": "index.js",
"scripts": {
Expand Down
Binary file modified settings.jar
Binary file not shown.

0 comments on commit f2954f2

Please sign in to comment.