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

213
Views
Storybook object instead of array

I have this storybook "two-row-cta.stories.js" file where i send in "rows" array but it transforms into object from some reason, anyone know why?

import two_row_cta from './two-row-cta.twig';
import './two-row-cta.scss';

export default {
  title: 'Two row CTA',
};

export const two_column = () => (
  two_row_cta({
    title: 'Nunc sed',
    description: 'Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Fusce id purus. In enim justo, rhoncus ut, imperdiet a, venenatis vitae.',
    rows: [
      [
        {
          title: 'Praesent venenatis metus',
          button: {
            title: 'Nunc interdum',
            url: '/'
          }
        },
        {
          title: 'Praesent venenatis metus',
          button: {
            title: 'Nunc interdum',
            url: '/'
          }
        },
      ],
      [
        {
          title: 'Praesent venenatis metus',
          button: {
            title: 'Nunc interdum',
            url: '/'
          }
        },
      ]
    ]
  })
);

output in storybook ui

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!