Constructor
# new ResultListSubheader(props) → {React.ReactElement}
Overview
The ListSubheader component from Material-UI library with custom styling. For full documentation check out Material-UI docs on ListSubheader.Goal
The goal of this component is to display simple label-value pairs that contain secondary information.Usage
In order to disable settings button or helper setdisableLeftGutter
or disableRightGutter
to true
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
props |
Object | Any other props will be forwarded to the ListSubheader component. |
|
children |
Array.<Object> |
<optional> |
The content of the component. An array of simple label-value pairs. |
children[].label |
string | The content of the label inside a pair. |
|
children[].value |
number | string | The content of the value inside a pair. |
|
disableLeftGutter |
boolean | If |
|
disableRightGutter |
boolean | If |
|
helper |
React.ReactNode | The content of the helper. |
|
onSettingsClick |
function | Callback fired when settings button was clicked on. |
React.ReactElement