Skip to content

Instantly share code, notes, and snippets.

@tiagobento2
Last active May 9, 2019 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiagobento2/627c420f8adf0e63f4a53f2512ae185c to your computer and use it in GitHub Desktop.
Save tiagobento2/627c420f8adf0e63f4a53f2512ae185c to your computer and use it in GitHub Desktop.
import * as React from "react";
import * as AppFormer from "appformer-js";
export class AfjsFirstScreen extends AppFormer.Screen {
constructor() {
super("AfjsFirstScreen");
this.af_isReact = true;
this.af_componentTitle = "AppFormer.js First Screen";
}
public af_componentRoot() {
return <div>I am alive!</div>;
}
}
AppFormer.register(new SpacesScreenAppFormerComponent());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment