You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, if a component accepts a props user, which is of type User, where I have defined a User interface. Below is the resulting output:
If I am a stakeholder, I want a way to see what properties the user object can have. Maybe if I hover over User under the description column, I can view the interface.
Another request would be to have a control for easily editing nested object properties, instead of the plain-text JSON. But that is a separate feature request that I think is already open.
The text was updated successfully, but these errors were encountered:
iamtomhanks
changed the title
In the description column in the ArgsTable, view properties of TypesScript types like an interface, enum, etc.
In the description column in the ArgsTable, view properties of TypeScript types like an interface, enum, etc.
Dec 15, 2020
For example, if a component accepts a props
![Screen Shot 2020-12-15 at 2 28 21 PM](https://user-images.githubusercontent.com/18446243/102263028-cf373e80-3ee1-11eb-9b0f-ee4226c4de4c.png)
user
, which is of typeUser
, where I have defined aUser
interface. Below is the resulting output:If I am a stakeholder, I want a way to see what properties the user object can have. Maybe if I hover over
User
under the description column, I can view the interface.Another request would be to have a control for easily editing nested object properties, instead of the plain-text JSON. But that is a separate feature request that I think is already open.
The text was updated successfully, but these errors were encountered: