SHARE
TWEET

Untitled

a guest Apr 9th, 2019 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package pages.homeHX;
  2.  
  3. import react.*;
  4. import react.ReactMacro.jsx;
  5. import Webpack.*;
  6.  
  7. @:jsRequire('@material-ui/core', 'Button')
  8. extern class Button extends react.ReactComponent.ReactComponentOf<Dynamic,Dynamic,Dynamic> {}
  9.  
  10. class Page extends ReactComponent {
  11.     static var STYLES = require('./Home.sass');
  12.     //static var IMG = require('./logo.svg');
  13.     //static var CONFIG = require('../config.json');
  14.    
  15.     override function render() {
  16.         return jsx('
  17.            <Button variant="raised" color="primary">
  18.                Hello World!
  19.            </Button>
  20.            ');
  21.     }
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top