We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 365bc6b commit 0e1e2b4Copy full SHA for 0e1e2b4
README.md
@@ -40,6 +40,7 @@ Enjoy :D
40
|Prefix|Method|
41
|-------:|-------|
42
|`rcredux→`|`React component with Redux`|
43
+|`mapS→`|`mapStateToProps function`|
44
45
46
#Redux
snippets/snippets.cson
@@ -68,6 +68,14 @@ export default class ${1:componentName} extends Component {
68
}
69
"""
70
# React Redux
71
+ 'mapStateToProps funtion':
72
+ 'prefix': 'mapS'
73
+ 'body': """const mapStateToProps= state => ({
74
+ $1
75
+ });
76
+
77
+ """
78
79
'Component with redux':
80
'prefix': 'rcredux'
81
'body': """
0 commit comments