• /
  • Log in

CardBody

Child element of the <Card> component.

Usage

import { CardBody } from 'nr1'

Props

childrenrequirednode

Content to render inside the card body.

classNamestring

Appends class names to the component.

Should be used only for positioning and spacing purposes.

styleobject

Inline style for custom styling.

Should be used only for positioning and spacing purposes.

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.