message: feat(pattern): added little condition to add cta based pattern type
diff: @@ -23,6 +23,7 @@ storiesOf('Patterns (Sections)|CardSection', module)
  g100: 'g100',
  };
  const type = select('cardType', cardTypes, cardTypes[0]);
  + console.log('sss', type);
  const theme = select('theme', themes, themes.white);
  const cardsTitle =
  @@ -34,17 +35,19 @@ storiesOf('Patterns (Sections)|CardSection', module)
  cards[type] = data;
  + const cta = {
  + heading: 'Top level card link',
  + cta: {
  + href: 'https://www.example.com',
  + },
  + };
  +
  return (
  <CardSection
  heading={text('Heading (required)', cardsTitle)}
  theme={theme}
  cards={data}
  - cta={{
  - heading: 'Top level card link',
  - cta: {
  - href: 'https://www.example.com',
  - },
  - }}
  + cta={type === 'CardSectionSimple' ? cta : null}
  />
  );
  });
  