react-inspector
Advanced tools
Comparing version 6.0.1 to 6.0.2
{ | ||
"name": "react-inspector", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "Power of Browser DevTools inspectors right inside your React app", | ||
@@ -35,5 +35,5 @@ "keywords": [ | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"require": "./dist/index.js", | ||
"import": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts" | ||
"import": "./dist/index.mjs" | ||
}, | ||
@@ -40,0 +40,0 @@ "./package.json": "./package.json" |
@@ -77,4 +77,3 @@ # react-inspector | ||
```js | ||
import { ObjectRootLabel } from 'react-inspector' | ||
import { ObjectLabel } from 'react-inspector' | ||
import { ObjectRootLabel, ObjectLabel } from 'react-inspector' | ||
@@ -110,6 +109,6 @@ const defaultNodeRenderer = ({ depth, name, data, isNonenumerable, expanded }) => | ||
```js | ||
import {ObjectInspector, TableInspector} from 'react-inspector'; | ||
import { ObjectInspector, TableInspector } from 'react-inspector'; | ||
// or use the shorthand | ||
import Inspector from 'react-inspector'; | ||
import { Inspector } from 'react-inspector'; | ||
@@ -116,0 +115,0 @@ const MyComponent = ({ data }) => |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
251143
183