# -*- mode: snippet -*-
# name: React class component
# key: rc
# contributor: Ade Attwood <code@adeattwood.co.uk>
# --
export interface $1State {};
export interface $1Props {};

export class ${1:Name} extends React.Component<$1Props, $1State> {
    public state: $1State = {}

    public render(): JSX.Element {
        return (
            ${0:<div>Component</div>}
        );
    }
}
