intuit / intuit/devtools-ds

Add 'Name' Property to ObjectInspector

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
272
Forks
15
PR merge metrics
No merged PRs in 30d

Description

**Describe the solution you'd like**

Some use cases like [Storybook Addon Actions](https://github.com/storybookjs/storybook/blob/master/addons/actions/src/components/ActionLogger/index.tsx#L46) need to have a key for the root node of their object. This is currently done using a `name` prop, which just names the object optionally. It may be useful to have a similar functionality for the ObjectInspector, since there is currently no way to have a top level key.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.