Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

198
Views
How to conditionally show global Storybook argTypes?

In Storybook 6 my components have common properties such as theme, size, etc. which apply to 90% of my components. I want to define the controls for those props in a global way so I don't have to duplicate it for each story.

This works when you define global argTypes however if a component does not have one of these props, Storybook still renders the prop in the table but does not show any control for it.

How do I prevent the prop from being rendered at all in the props table but still be defined in a global way?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!