Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Comercial
    • Calculadora

0

78
Vistas
Can I group Storybook controls using TypeScript types?

I have some components inheriting hundreds of HTML attributes as TS prop types, so the args table of their stories are displaying too many props. I want to group the controls of those stories in order to separate the main props of the component with all those HTML ones. There's a way to automatically group all props inside the HTMLAttributes type?

Here's the way to group story controls manually https://storybook.js.org/docs/react/writing-docs/doc-blocks#grouping

7 months ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos