Skip to content

Commit

Permalink
Merge pull request #18 from jason-ingenuity/master
Browse files Browse the repository at this point in the history
export default and stateless function snippets
  • Loading branch information
shrugs authored Feb 23, 2018
2 parents a444c9d + c6171f4 commit 84fcf2b
Show file tree
Hide file tree
Showing 4 changed files with 213 additions and 142 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ For Atom, search for `react-native-snippets-horse` in the [Atom Package Manager]
<td>rncc</td>
<td>Scaffolds a full react-native component class.</td>
</tr>
<tr>
<td>React Native Create Stateless Function</td>
<td>rnstf</td>
<td>Scaffolds a stateless function.</td>
</tr>
<tr>
<td>this.setState()</td>
<td>tss</td>
Expand All @@ -41,6 +46,10 @@ For Atom, search for `react-native-snippets-horse` in the [Atom Package Manager]
<td>React.PropTypes.</td>
<td>rpt</td>
</tr>
<tr>
<td>export default</td>
<td>ed</td>
</tr>
</table>

### Lifecycle Methods
Expand Down
6 changes: 6 additions & 0 deletions snippets/exportDefault_react_native.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<content><![CDATA[export default ${1}]]></content>
<tabTrigger>ed</tabTrigger>
<scope>source.js,source.jsx</scope>
<description>export default</description>
</snippet>
Loading

0 comments on commit 84fcf2b

Please sign in to comment.