Class

ResultListSubheader

ResultListSubheader(props) → {React.ReactElement}

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 set disableLeftGutter 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 true the content of left gutter will be visible.

disableRightGutter boolean

If true the content of right gutter will be visible.

helper React.ReactNode

The content of the helper.

onSettingsClick function

Callback fired when settings button was clicked on.

View Source Utils/DataDisplay/ResultList/Elements/ResultListSubheader.js, line 80

React.ReactElement