Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 787 Bytes

File metadata and controls

37 lines (23 loc) · 787 Bytes

Detail Panel

Description

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.

Installation

  1. Install nr1-community
  npm i @newrelic/nr1-community
  1. Import styles

Add:

@import '~@newrelic/nr1-community/dist/index.css';

to your styles.scss

Usage

import { EmptyState } from '@newrelic/nr1-community';

render () {
  <EmptyState />
}