Code Monkey home page Code Monkey logo

react-object-inspector's People

Contributors

alexkuz avatar b6pzeusbc54tvhw5jgpyw8pwz2x6gs avatar forbeslindesay avatar kib357 avatar osnr avatar xyc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-object-inspector's Issues

Add theming support

Embedding this library in 0.1.x in a project with a modern build step was very easy and provided an opportunity to adjust and/or overwrite styles.

For example, I would like to use a different font-size and font-family. I don't think the library should be hard-coded with those sorts of decisions already made and set in stone.

For now I need to use !important rules but hope you consider an disableStyles or similar option and add relevant classNames back to nodes in the tree to facilitate 3rd party theming.

Cheers, great module!

Feature request: collapsed / expanded state / root node

I would like to be able to specify the collapsed / expanded state of the component:

a) expand a specific path "object.foo.bar"

b) expand noes down to a specific level number - ex: level 1 expands "object.keys" and level 2 expands "object.keys.keys"

Would also be nice to be able to override the label for the root node.

Unknown Babel option: stage

Babel 6.5.2

Module build failed: ReferenceError: [BABEL] ...node_modules/react-object-inspector/lib/ObjectInspector.js: Unknown option: ...node_modules/react-object-inspector/.babelrc.stage

react-object-inspector/.babelrc

{
  "stage": 0
}

Exclude gh-pages folder from npm package

Hi xyc

Currently, the gh-pages folder stands at 4.9mb, and is specially problematic for desktop applications made with electron-shell since it adds 4.9mb to each download.

Can it be excluded from the npm package?

Collapsed state showing a preview of the node's content

Hi,

I would like to know if it's possible to show a "preview" of the node's content when this node is collapsed (like the first image on the README). It seems like this was the old behavior and that now , it has been changed.

It would be awesome if we had the choice between the two behaviors.

Thanks

Show prototype names

Currently, all objects are displayed as Object, regardless of their prototype, unlike in DevTools.

Update react peer dependency

The peer dependency of "react": "^0.14.0" conflicts with our project, since we use a newer version of react. The object inspector still works great with newer versions of React, so could you please update to a newer version of react or change the peer dependency to "react": "^0.14.0 || ^15.0.0",

Make css inline

Hi @xyc this module really helps! I'm wondering if you are thinking about move the css inline so that I can just install and use it!

Including an additional css is not hard but it would be cool if I don't need to do it at all!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.