Skip to content

Commit

Permalink
Merge pull request #33 from brownieboy/new-proptypes-format#28
Browse files Browse the repository at this point in the history
Change React.PropTypes to just PropTypes
  • Loading branch information
Sven SAULEAU authored Feb 26, 2018
2 parents b2f1b3c + 02c4f2d commit 17f0db5
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion react_propTypes.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
propTypes: {
${1}: React.PropTypes.${2:string}
${1}: PropTypes.${2:string}
},
]]></content>
<tabTrigger>pt</tabTrigger>
Expand Down
2 changes: 1 addition & 1 deletion react_propTypes_arrayInstanceOf.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
${1}: React.PropTypes.arrayOf(React.PropTypes.instanceOf(${2:Class}))${3:.isRequired}$0
${1}: PropTypes.arrayOf(PropTypes.instanceOf(${2:Class}))${3:.isRequired}$0
]]></content>
<tabTrigger>ptai</tabTrigger>
<scope>source.js</scope>
Expand Down
2 changes: 1 addition & 1 deletion react_propTypes_arrayOf.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
${1}: React.PropTypes.arrayOf(${2:propType})${3:.isRequired}$0
${1}: PropTypes.arrayOf(${2:propType})${3:.isRequired}$0
]]></content>
<tabTrigger>pta</tabTrigger>
<scope>source.js</scope>
Expand Down
2 changes: 1 addition & 1 deletion react_propTypes_bool.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
${1}: React.PropTypes.bool${2:.isRequired}$0
${1}: PropTypes.bool${2:.isRequired}$0
]]></content>
<tabTrigger>ptb</tabTrigger>
<scope>source.js</scope>
Expand Down
2 changes: 1 addition & 1 deletion react_propTypes_element.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
${1}: React.PropTypes.element${2:.isRequired}$0
${1}: PropTypes.element${2:.isRequired}$0
]]></content>
<tabTrigger>pte</tabTrigger>
<scope>source.js</scope>
Expand Down
2 changes: 1 addition & 1 deletion react_propTypes_func.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
${1}: React.PropTypes.func${2:.isRequired}$0
${1}: PropTypes.func${2:.isRequired}$0
]]></content>
<tabTrigger>ptf</tabTrigger>
<scope>source.js</scope>
Expand Down
2 changes: 1 addition & 1 deletion react_propTypes_instanceOf.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
${1}: React.PropTypes.instanceOf(${2:Class})${3:.isRequired}$0
${1}: PropTypes.instanceOf(${2:Class})${3:.isRequired}$0
]]></content>
<tabTrigger>pti</tabTrigger>
<scope>source.js</scope>
Expand Down
2 changes: 1 addition & 1 deletion react_propTypes_node.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
${1}: React.PropTypes.node${2:.isRequired}$0
${1}: PropTypes.node${2:.isRequired}$0
]]></content>
<tabTrigger>ptn</tabTrigger>
<scope>source.js</scope>
Expand Down
2 changes: 1 addition & 1 deletion react_propTypes_number.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
${1}: React.PropTypes.number${2:.isRequired}$0
${1}: PropTypes.number${2:.isRequired}$0
]]></content>
<tabTrigger>ptn</tabTrigger>
<scope>source.js</scope>
Expand Down
2 changes: 1 addition & 1 deletion react_propTypes_object.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
${1}: React.PropTypes.object${2:.isRequired}$0
${1}: PropTypes.object${2:.isRequired}$0
]]></content>
<tabTrigger>pto</tabTrigger>
<scope>source.js</scope>
Expand Down
2 changes: 1 addition & 1 deletion react_propTypes_objectOf.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
${1}: React.PropTypes.objectOf(${2:type})${3:.isRequired}$0
${1}: PropTypes.objectOf(${2:type})${3:.isRequired}$0
]]></content>
<tabTrigger>ptof</tabTrigger>
<scope>source.js</scope>
Expand Down
2 changes: 1 addition & 1 deletion react_propTypes_oneOf.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
${1}: React.PropTypes.oneOf([${2:value}, ${3:value}])${4:.isRequired}$0
${1}: PropTypes.oneOf([${2:value}, ${3:value}])${4:.isRequired}$0
]]></content>
<tabTrigger>ptof</tabTrigger>
<scope>source.js</scope>
Expand Down
2 changes: 1 addition & 1 deletion react_propTypes_oneOfType.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
${1}: React.PropTypes.oneOfType([${2:value}, ${3:value}])${4:.isRequired}$0
${1}: PropTypes.oneOfType([${2:value}, ${3:value}])${4:.isRequired}$0
]]></content>
<tabTrigger>ptoft</tabTrigger>
<scope>source.js</scope>
Expand Down
2 changes: 1 addition & 1 deletion react_propTypes_shape.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
${1}: React.PropTypes.shape({
${1}: PropTypes.shape({
$0
})
]]></content>
Expand Down
2 changes: 1 addition & 1 deletion react_propTypes_string.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
${1}: React.PropTypes.string${2:.isRequired}$0
${1}: PropTypes.string${2:.isRequired}$0
]]></content>
<tabTrigger>pts</tabTrigger>
<scope>source.js</scope>
Expand Down

0 comments on commit 17f0db5

Please sign in to comment.