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
The corresponding story involving this component is getting rendered correctly. However, when I look at the Controls panel, I see the control value for the headers prop displayed correctly but the rows prop looks like this (a list of [object Object] instead of the actual values):
When I look at the ArgsTable in the Docs tab, I see the description for the two props is different as well.
Is there a way to get around this? I want to be able to edit the rows control value similar to the headers control value.
This is what my story looks like:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using Storybook v6.1.9 and I have a component with the following propTypes:
The corresponding story involving this component is getting rendered correctly. However, when I look at the Controls panel, I see the control value for the

headers
prop displayed correctly but therows
prop looks like this (a list of[object Object]
instead of the actual values):When I look at the ArgsTable in the Docs tab, I see the description for the two props is different as well.

Is there a way to get around this? I want to be able to edit the
rows
control value similar to theheaders
control value.This is what my story looks like:
where
getSquadHubTable
returns an array that looks something like this:Beta Was this translation helpful? Give feedback.
All reactions