-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
main.ts
39 lines (38 loc) · 764 Bytes
/
main.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import type {StorybookConfig} from "@storybook/angular";
const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
],
framework: {
name: "@storybook/angular",
options: {},
},
docs: {
autodocs: "tag",
},
staticDirs: [
{from: '../src/assets', to: '/assets' }
], previewHead: (head) => `
<style>
body {
margin: 0;
height: 100%;
padding: 0;
}
#storybook-root {
height: 100%;
}
atft-map-controls {
height: 100%;
}
ng-component {
height: 100%
}
</style>
${head}
`,
};
export default config;