Skip to content

Commit

Permalink
chore: update storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
DaryaLari committed Mar 11, 2024
1 parent 0dc27c6 commit f130d0c
Show file tree
Hide file tree
Showing 5 changed files with 7,063 additions and 1,838 deletions.
8 changes: 8 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"sourceType": "unambiguous",
"presets": [
"@babel/preset-typescript",
"@babel/preset-react"
],
"plugins": []
}
15 changes: 14 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
import type {StorybookConfig} from '@storybook/core-common';
import type {StorybookConfig} from '@storybook/react-webpack5';

const config: StorybookConfig = {
stories: ['../src/**/*.stories.@(ts|tsx)'],
addons: [
'@storybook/preset-scss',
{name: '@storybook/addon-essentials', options: {backgrounds: false}},
'@storybook/addon-webpack5-compiler-babel'
],

framework: {
name: '@storybook/react-webpack5',
options: {}
},

docs: {
autodocs: true
},
core: {
disableTelemetry: true,
},
};

module.exports = config;
Loading

0 comments on commit f130d0c

Please sign in to comment.