Module

SubHeader

Methods

# inner renderRight() → {React.ReactElement}

if a rightRender is passed in, it will be used to render the right side of the header otherwise, nothing will be rendered

View Source stories/SubHeader.jsx, line 42

React.ReactElement

# inner renderTitle() → {React.ReactElement|null}

if a titleRenderr is passed in, it will be used to render the title otherwise, the title will be rendered as a Typography "subHeader" variant

View Source stories/SubHeader.jsx, line 20

React.ReactElement | null

# inner SubHeader(props) → {React.ReactElement}

if a titleRenderr is passed in, it will be used to render the title otherwise, the title will be rendered as an h3 if neither then no header will be rendered
Parameters:
Name Type Attributes Description
props object
title string <optional>
title to display
titleRender function <optional>
function to render the title
rightRender function <optional>
function to render the right side of the header
color string <optional>
color of the header

View Source stories/SubHeader.jsx, line 7

React.ReactElement