Applications (Nerdpacks) developed in New Relic One are limited (for security purposes) to data in the account they are installed (subscribed) to and hierarchically to any child accounts.
Often the goal is to limit the view by a given account to ensure accurate context.
This component provides a common interface for choosing an account with a callback (onSelect
) that allows for integration into the rest of your application.
- Install nr1-community
npm i @newrelic/nr1-community
- Import styles
Add:
@import '~@newrelic/nr1-community/dist/index.css';
to your styles.scss
import { EmptyState } from '@newrelic/nr1-community';
render () {
<EmptyState />
}