storybookjs/storybook

[Bug]: Storybook false props are not appearing in the show code react

クローズ

#30,704 opened on 2025/02/27

 (5 件のコメント) (1 件のリアクション) (1 人の担当者)TypeScript (10,058 件のフォーク)batch import
block: sourcebughelp wantedsev:S3

Repository metrics

Stars
 (89,909 個のスター)
PR merge metrics
 (平均マージ 7d 22h) (30d で 184 merged PRs)

説明

Describe the bug

I have props that are true by default and when I set them to false I expect them to be set to false in the show code section.

Reproduction link

Reproduction steps

Image

No response

System

System:
    OS: macOS 14.2
    CPU: (8) arm64 Apple M1 Pro
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.10.0 - /usr/local/bin/node
    Yarn: 1.22.22 - /usr/local/bin/yarn <----- active
    npm: 10.2.3 - /usr/local/bin/npm
  Browsers:
    Chrome: 133.0.6943.127
    Safari: 17.2
  npmPackages:
    @storybook/addon-essentials: ^8.5.3 => 8.5.4 
    @storybook/addon-interactions: ^8.5.3 => 8.5.4 
    @storybook/addon-links: ^8.5.3 => 8.5.4 
    @storybook/addon-onboarding: ^8.5.3 => 8.5.4 
    @storybook/blocks: ^8.5.3 => 8.5.4 
    @storybook/react: ^8.5.3 => 8.5.4 
    @storybook/react-vite: ^8.5.3 => 8.5.4 
    @storybook/test: ^8.5.3 => 8.5.4 
    eslint-plugin-storybook: ^0.11.2 => 0.11.2 
    storybook: ^8.5.3 => 8.5.4

Additional context

No response

コントリビューターガイド