Guest User

Untitled

a guest
Jan 12th, 2016
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var {
  2.     AppCanvas,
  3.     AppBar,
  4.     Styles,
  5.     RaisedButton,
  6.     IconMenu,
  7.     IconButton,
  8.     MenuItem,
  9.     MoreVertIcon,
  10.     TextField,
  11.     NavigationClose,
  12.     Avatar,
  13.     DatePicker
  14.     } = MUI;
  15.    
  16. var { ThemeManager, LightRawTheme } = Styles;
  17.  
  18. MaterialApp = React.createClass({
  19.     childContextTypes: {
  20.         muiTheme: React.PropTypes.object
  21.     },
  22.  
  23.     getChildContext() {
  24.         return {
  25.             muiTheme: ThemeManager.getMuiTheme(LightRawTheme)
  26.         };
  27.     },
  28.  
  29.     render: function () {
  30.         return (
  31.             <AppCanvas>
  32.                 <AppBar
  33.                     title="Event erstellen"
  34.                     iconElementLeft={<IconButton><NavigationClose /></IconButton>}
  35.                 />
  36.             </AppCanvas>
  37.         );
  38.     }
  39. });
Advertisement
Add Comment
Please, Sign In to add comment