• /
  • Log in
  • Free account

ListItem

Child element of the <List> component.

Usage

import { ListItem } from 'nr1'

Props

childrenrequirednode

Content of the ListItem.

classNamestring

Classname for custom styling.

styleobject

Inline style for custom styling.

testIdstring

Adds a data-test-id.

Used to target the component in unit and e2e testing.

Methods

ListItem.render

function () => undefined
Create issueEdit page
Copyright © 2021 New Relic Inc.