<ListHeader />

Header element for list items. Must be put inside ons-list component.

Usage

<List
     dataSource={this.state.data}
     renderHeader={() =>
        <ListHeader style={{fontSize: 15}} className="testClass"> Header Text </ListHeader> }
    renderRow={(row, idx) => (
      <ListItem > {row} </ListItem>
    )}
  />
Name Type Description
modifier string Specify modifier name to specify custom styles. Optional. Optional.
Name Description
material Display a Material Design list header.

Need Help?

If you have any questions, use our Community Forum or talk to us on Discord chat. The Onsen UI team and your peers in the community will work together to help solve your issues.

For bug reports and feature requests use our GitHub Issues page.