Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export default and stateless function snippets #18

Merged
merged 4 commits into from
Feb 23, 2018
Merged

Conversation

btcalls
Copy link
Contributor

@btcalls btcalls commented Feb 22, 2018

  • Added snippet for export default
  • Added snippet for creating stateless functions

'body': 'flex: ${1:1},$0'
'Create StyleSheet':
'prefix': 'css'
'alignItems: 'center',':
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

atomizr has a bug, please escape these single quotes with a \before them

"""
'componentDidUpdate(object prevProps, object prevState)':
'prefix': 'cdud'
'justifyContent: 'center',':
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

likewise here

${1}
}$0
"""
'.source.jssource.jsx':
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a comma here so it looks like .source.js,source.jsx

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will update, thanks

@shrugs
Copy link
Owner

shrugs commented Feb 23, 2018

thanks for the PR! Just making sure the atom spec is kept up to date

@shrugs shrugs merged commit 84fcf2b into shrugs:master Feb 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants