Skip to content

Commit

Permalink
fix template props
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-zucca committed Apr 12, 2017
1 parent c3536b0 commit b5dbe91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "extractcomponent",
"displayName": "extract-component",
"description": "Extract component for react application",
"version": "0.6.1",
"version": "0.7.0",
"publisher": "zucska",
"keywords": [
"javascript",
Expand Down
6 changes: 3 additions & 3 deletions template.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, { Component } from 'react';
import React, { Component } from 'react'
__IMPORT__

class componentName extends Component {
render() {
const {__PROPS__} = this.props
//const {__PROPS__} = this.props
return (
<View>
__CONTENTS__
Expand All @@ -12,4 +12,4 @@ class componentName extends Component {
}
}

export default componentName;
export default componentName

0 comments on commit b5dbe91

Please sign in to comment.