import * as React from 'react' ; import AppBar from 'material-ui/AppBar' ; import Toolbar from 'material-ui/Toolbar' ; import Typography from 'material-ui/Typography' ; interface TitlebarProps { children : any ; } export function Titlebar ( props ) { const { children } = props ; return ( < AppBar position = "static" > < Toolbar > < Typography type = "title" color = "inherit" > { children } < /Typography> < /Toolbar> < /AppBar>); }