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
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
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 |
React.ReactElement