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
I'd like to know whether It's possible to view arguments of multiple components in one table in a story. I'm migrating to storybook 7, in storybook 6.5, did that in two ways:
But subcomponents are deprecated, and it's not showing any table either. So, I'd like to know, how do you display argtypes for multiple components in a sigle story?
PS: I'm using PropTypes for my components to define them.
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
-
Hi,
I'd like to know whether It's possible to view arguments of multiple components in one table in a story. I'm migrating to storybook 7, in storybook 6.5, did that in two ways:
<ComponentsTable components={{ FileInput, FileRecord }} />
However, this is not working in storybook 7, as I get this error:
Cannot read properties of undefined (reading 'docs')
export default { title: 'Form/TableField/Select', component: Select, subcomponents: { SelectComponent, SelectOption }, };
But subcomponents are deprecated, and it's not showing any table either. So, I'd like to know, how do you display argtypes for multiple components in a sigle story?
PS: I'm using PropTypes for my components to define them.
Beta Was this translation helpful? Give feedback.
All reactions