Skip to content

Instantly share code, notes, and snippets.

@burtyish
Last active April 24, 2018 07:41
Show Gist options
  • Save burtyish/909ac5eac39d34086e2701a5db5ae42a to your computer and use it in GitHub Desktop.
Save burtyish/909ac5eac39d34086e2701a5db5ae42a to your computer and use it in GitHub Desktop.
Webstorm React component file templates
import React, { Component, PropTypes } from 'react';
export default class {$NAME} extends Component {
render() {
return (
);
}
}
{$NAME}.propTypes = {
};
{$NAME}.defaultProps = {
};
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