Skip to content

Instantly share code, notes, and snippets.

@spiegela
Last active February 23, 2019 14:27
Show Gist options
  • Save spiegela/8e0513627439329c875fd1771d5942fc to your computer and use it in GitHub Desktop.
Save spiegela/8e0513627439329c875fd1771d5942fc to your computer and use it in GitHub Desktop.
IntelliJ Live Templates for Typescript React
import {PureComponent} 'react';
export default class $TM_FILENAME_BASE$ extends PureComponent {
render() {
return (
<div>
$END$
</div>
);
}
}
import {PureComponent} from 'react';
export type $TM_FILENAME_BASE$Props = {
};
export default class $TM_FILENAME_BASE$ extends PureComponent<$TM_FILENAME_BASE$Props> {
render() {
return (
<div>
$END$
</div>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment