Last active
April 24, 2018 07:41
-
-
Save burtyish/909ac5eac39d34086e2701a5db5ae42a to your computer and use it in GitHub Desktop.
Webstorm React component file templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component, PropTypes } from 'react'; | |
export default class {$NAME} extends Component { | |
render() { | |
return ( | |
); | |
} | |
} | |
{$NAME}.propTypes = { | |
}; | |
{$NAME}.defaultProps = { | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
interface IProps { | |
} | |
export class {$NAME} extends React.Component<IProps, IState> { | |
public render() { | |
return ( | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment