mirror of
https://github.com/morten-olsen/react-native-debug-console.git
synced 2026-02-08 00:36:26 +01:00
14 lines
194 B
JavaScript
14 lines
194 B
JavaScript
import React from 'react';
|
|
import {
|
|
Fixed,
|
|
} from '../base/text';
|
|
|
|
const JSONTree = ({ data }) => (
|
|
<Fixed>
|
|
{ JSON.stringify(data, null, ' ') }
|
|
</Fixed>
|
|
);
|
|
|
|
export default JSONTree;
|
|
|