Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit aaba2a2

Browse files
authoredSep 10, 2024··
Merge pull request #56 from hotosm/dev
Big refactor: all things working
2 parents 997f0e7 + 6ee7030 commit aaba2a2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+3425
-8682
lines changed
 

‎.storybook-react/main.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import type { StorybookConfig } from "@storybook/react-vite";
2+
3+
const config: StorybookConfig = {
4+
stories: ["./stories/**/*.stories.ts"],
5+
staticDirs: ["./static"],
6+
addons: ["@storybook/addon-links", "@storybook/addon-essentials"],
7+
framework: {
8+
name: "@storybook/react-vite",
9+
options: {},
10+
},
11+
core: {
12+
disableTelemetry: true,
13+
}
14+
};
15+
export default config;
16+

‎.storybook-react/preview.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import type { Preview } from "@storybook/react";
2+
3+
const preview: Preview = {
4+
parameters: {
5+
actions: { argTypesRegex: "^on[A-Z].*" },
6+
controls: {
7+
matchers: {
8+
color: /(background|color)$/i,
9+
date: /Date$/,
10+
},
11+
},
12+
},
13+
};
14+
15+
export default preview;

0 commit comments

Comments
 (0)
Please sign in to comment.