JSONFormatter class
Signature
export declare class JSONFormatter extends PureComponent<Props>
Import
import { JSONFormatter } from '@grafana/ui';
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
defaultProps | static | { open: number; config: { animateOpen: boolean; }; } | |
renderJson | () => void |
Methods
Method | Modifiers | Description |
---|---|---|
componentDidMount() | ||
componentDidUpdate() | ||
render() |
defaultProps property
Signature
static defaultProps: {
open: number;
config: {
animateOpen: boolean;
};
};
renderJson property
Signature
renderJson: () => void;
componentDidMount method
Signature
componentDidMount(): void;
Returns:
void
componentDidUpdate method
Signature
componentDidUpdate(): void;
Returns:
void
render method
Signature
render(): JSX.Element;
Returns:
JSX.Element