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
When defining args in a *.stories.tsx default export, but not defining decorators, the args are not applied to the default export and are not inherited by other stories in the file.
When defining args in any stories export, but not defining any decorators, either in default export, or the stories export, the args are not applied to the exported story itself.
Reproduction
Clone the repo
Run pnpm i
Open buttons.stories.tsx in the docs package
Remove all decorators defined in all stories
Run pnpm dev
See the default args children are not passed to the component story
Environment
OS with version: Windows 11
Browser with version: Firefox 117.0.1 & Chrome 119.0.6023.0 canary
JS Runtime with version: NodeJS v20.2.0
The text was updated successfully, but these errors were encountered:
Describe the bug
When defining
args
in a*.stories.tsx
default export, but not definingdecorators
, theargs
are not applied to the default export and are not inherited by other stories in the file.When defining
args
in any stories export, but not defining anydecorators
, either indefault
export, or the stories export, theargs
are not applied to the exported story itself.Reproduction
pnpm i
buttons.stories.tsx
in thedocs
packagedecorators
defined in all storiespnpm dev
children
are not passed to the component storyEnvironment
The text was updated successfully, but these errors were encountered: