3
0
mirror of https://github.com/grafana/grafana.git synced 2025-01-28 01:07:16 -06:00
grafana/public/app/features/explore/JSONViewer.tsx

10 lines
175 B
TypeScript
Raw Normal View History

import React from 'react';
export default function JSONViewer({ value }: any) {
return (
<div>
<pre>{JSON.stringify(value, undefined, 2)}</pre>
</div>
);
}