add chart line demo and add storybook

This commit is contained in:
2020-10-15 11:36:24 +07:00
parent 1f01cf636d
commit e9584c17d4
20 changed files with 5215 additions and 78 deletions

11
.storybook/main.js Normal file
View File

@@ -0,0 +1,11 @@
module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/preset-create-react-app"
]
}

4
.storybook/preview.js Normal file
View File

@@ -0,0 +1,4 @@
export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
}