mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 02:41:51 +08:00
599 B
599 B
import type { Preview } from '@storybook/angular';
import { setCompodocJson } from '@storybook/addon-docs/angular';
import docJson from '../documentation.json'; // The path to your generated json file from Compodoc contains all your documentation information.
setCompodocJson(docJson);
const preview: Preview = {
parameters: {
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
},
};
export default preview;