API REFERENCE

Header

Usage example

Normally, you might want to put Toolbar inside of header as a wrapper.

import styled from 'styled-components'
import Toolbar from '@material-ui/core/Toolbar';
import Layout, { Root, getHeader } from '@mui-treasury/layout';

const Header = getHeader(styled)

cosnt scheme = Layout()

const App = () => {
  return (
    <Root scheme={scheme}>
      <Header>
        <Toolbar>header</Toolbar>s
      </Header>
    </Root>
  )
}

Props

Any props that AppBar accepts

Styling

Refer to AppBar CSS api