JSONFormatter class

Signature

  1. export declare class JSONFormatter extends PureComponent<Props>

Import

  1. import { JSONFormatter } from '@grafana/ui';

Properties

PropertyModifiersTypeDescription
defaultPropsstatic{
open: number;
config: {
animateOpen: boolean;
};
}
renderJson() => void

Methods

MethodModifiersDescription
componentDidMount()
componentDidUpdate()
render()

defaultProps property

Signature

  1. static defaultProps: {
  2. open: number;
  3. config: {
  4. animateOpen: boolean;
  5. };
  6. };

renderJson property

Signature

  1. renderJson: () => void;

componentDidMount method

Signature

  1. componentDidMount(): void;

Returns:

void

componentDidUpdate method

Signature

  1. componentDidUpdate(): void;

Returns:

void

render method

Signature

  1. render(): JSX.Element;

Returns:

JSX.Element