file persistence, load users from json, js packages updated

This commit is contained in:
2022-02-13 20:13:09 +01:00
parent dc73b6d991
commit 1182a7add8
36 changed files with 84656 additions and 4593 deletions
+7
View File
@@ -0,0 +1,7 @@
module.exports = {
"stories": ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
"addons": ["@storybook/addon-links", "@storybook/addon-essentials", "@storybook/preset-create-react-app"],
core: {
builder: "webpack5"
}
};
+23
View File
@@ -0,0 +1,23 @@
import { ThemeProvider } from "styled-components";
import theme from "../src/theme";
export const decorators = [
(Story) => (
<ThemeProvider theme={theme}>
<Story />
</ThemeProvider>
),
];
export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
}