• /
  • Log in

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 attribute.

Use it to target the component in unit and e2e tests.

Create issueEdit page
Copyright © 2021 New Relic Inc.