Skip to content

Instantly share code, notes, and snippets.

@milichev
Created May 17, 2018 12:16
Show Gist options
  • Save milichev/778c39cb01b62d73742c783f5db221fc to your computer and use it in GitHub Desktop.
Save milichev/778c39cb01b62d73742c783f5db221fc to your computer and use it in GitHub Desktop.
WebStorm Templates
import * as React from 'react';
export interface ${NAME}Props {
}
interface ${NAME}State {
}
export class ${NAME} extends React.Component<${NAME}Props, ${NAME}State> {
state: ${NAME}State = {};
render (): React.ReactNode {
const {
props: {},
state: {},
} = this;
return (
<div>
a
</div>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment