storybookjs/storybook

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

已关闭

#30,704 创建于 2025年2月27日

 (5 条评论) (1 个反应) (1 位负责人)TypeScript (10,058 个派生)batch import
block: sourcebughelp wantedsev:S3

仓库指标

星标
 (89,909 个星标)
PR 合并指标
 (平均合并 7天 22小时) (30 天内合并 184 个 PR)

描述

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

贡献者指南