Skip to content

zeroasterisk/react-dump-simple

Repository files navigation

React Dump Simple Component

Sometimes you just want to dump the contents of a value onto the page.

If you want some colorful fanciness - check out react-dump <-- more featureful

But if you want something simple and plain, but still effective (maybe for an internal admin interface)...

See storybook for examples

import Dump from 'react-dump-simple';

const MyPage = props => (
  <div>
    Here is something I'm trying to debug:
    <Dump value={props.userData} />
  </div>
);

const MyComponentDumpsAllProps = props => (<Dump value={props} />);

(this is super simple, but sometimes useful when developing)

About

Super basic dump-value to screen

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published