import { setCompodocJson } from "@storybook/addon-docs/angular"; import { componentWrapperDecorator, addDecorator } from "@storybook/angular"; import docJson from "../documentation.json"; setCompodocJson(docJson); export const parameters = { actions: { argTypesRegex: "^on[A-Z].*" }, controls: { matchers: { color: /(background|color)$/i, date: /Date$/, }, }, docs: { inlineStories: true }, }; // ng-template is used to scope any template reference variables and isolate the previews const decorator = componentWrapperDecorator( (story) => `
${story}
${story}
` ); addDecorator(decorator);