Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Storybook ArgsTypes not extracting component imported types props #29354

Open
ardiansah47 opened this issue Oct 14, 2024 · 1 comment
Open

Comments

@ardiansah47
Copy link

ardiansah47 commented Oct 14, 2024

Describe the bug

I have a simple vue button component, and the props type is imported from another type

example component:
Image

But why does the storybook props table not extract the ButtonVariant & ButtonSize types?
Image

any help, or did I set it up wrong?

Thank you

Reproduction link

https://github.com/ardiansah47/storybook-issue

Reproduction steps

  1. Clone the repository
  2. npm install
  3. npm run storybook

System

Storybook Environment Info:

System:
OS: macOS 15.0.1
CPU: (8) arm64 Apple M1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.17.0 - ~/.nvm/versions/node/v20.17.0/bin/node
npm: 10.8.2 - ~/.nvm/versions/node/v20.17.0/bin/npm <----- active
pnpm: 9.1.4 - /opt/homebrew/bin/pnpm
Browsers:
Chrome: 129.0.6668.91
Edge: 117.0.2045.55
Safari: 18.0.1
npmPackages:
@storybook/addon-essentials: ^8.3.5 => 8.3.5
@storybook/addon-interactions: ^8.3.5 => 8.3.5
@storybook/addon-links: ^8.3.5 => 8.3.5
@storybook/addon-onboarding: ^8.3.5 => 8.3.5
@storybook/blocks: ^8.3.5 => 8.3.5
@storybook/test: ^8.3.5 => 8.3.5
@storybook/vue3: ^8.3.5 => 8.3.5
@storybook/vue3-vite: ^8.3.5 => 8.3.5
storybook: ^8.3.5 => 8.3.5

Additional context

No response

@ChristianRaoulis
Copy link

This looks similar to #29340

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants