react-var-dump
v0.1.0
Published
react-var-dump
Downloads
12
Readme
react-var-dump
Simple data visualisation in <pre />
html elements.
installation
npm i -S react-var-dump
React must be installed.
usage
import VarDump from 'react-var-dump';
import React from 'react';
const myData = { foo: 'bar' };
export default () => <VarDump data={myData} />;
props
data : any object / value.
Licence: MIT