import { configure, addDecorator, addParameters } from '@storybook/angular';
import { withA11y } from '@storybook/addon-a11y';
import sparkTheme from "../../storybook-spark-theme";



const storyWrapper = templateFn => storyFn => {
  const story = storyFn();
  return {
    ...story,
    template: templateFn(story.template)
  };
};

addDecorator(
  storyWrapper(storyContent => `<div class="sprk-o-Box">${ storyContent }<div>`)
);



addDecorator(withA11y);

// Option defaults.
addParameters({
  options: {
    theme: sparkTheme,
  },
});

configure(require.context('../../spark', true, /\/angular\/.*\.stories\.(js|ts|tsx|mdx)$/), module);

@@ -371,16 +371,22 @@
 ntent =%3E
+ (%0A   
  %60%3Cdiv c
@@ -428,16 +428,20 @@
 %3Cdiv%3E%60)%0A
+  )%0A
 );%0A%0A%0A%0Aad

update code style