storybook: [Bug]: In onboarding `background` should be `backgroundColor`

Describe the bug

There’s a bug in the example stories shown during onboarding. It mentions an arg background: "red" but the Button component does not accept a background prop. It does accept backgroundColor.

To Reproduce

Start a fresh Storybook project and follow the onboarding tutorial. At the stage where it shows an example stories file, there’s a story (I think the Primary one) that has the bad prop name.

System

No response

Additional context

No response

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 15 (4 by maintainers)

Most upvoted comments

@suprabhat15 @vanessayuenn We are working hard to solve the issue now.

@jwoo9928 go ahead, PR welcome! Be sure to check the contribution guide and hop onto the Storybook Discord if you need any help getting started. Looking forward to your contribution! ✨