File tree Expand file tree Collapse file tree 4 files changed +0
-25
lines changed Expand file tree Collapse file tree 4 files changed +0
-25
lines changed Original file line number Diff line number Diff line change 1- import { withMocks } from '../storybook/addon/decorator.js' ;
2-
3- export const decorators = [ withMocks ] ;
Original file line number Diff line number Diff line change 1- // @ts -nocheck
2-
3- import { addons , makeDecorator } from '@storybook/preview-api' ;
4- import { createDecorator } from './create-decorator.js' ;
5-
6- // Storybook 7
7- /**
8- * @type {ReturnType<typeof makeDecorator> }
9- */
10- export const withMocks = createDecorator ( addons , makeDecorator ) ;
Original file line number Diff line number Diff line change 1- // @ts -nocheck
2-
3- import { createAddon } from '@web/storybook-utils' ;
4- import React from 'react' ;
5- import { addons } from '@storybook/manager-api' ;
6- import { registerAddon } from './register-addon.js' ;
7-
8- // Storybook 7
9- registerAddon ( addons , React , createAddon ) ;
Original file line number Diff line number Diff line change 8888 {
8989 "path" : " ./packages/storybook-framework-web-components/tsconfig.json"
9090 },
91- {
92- "path" : " ./packages/storybook-utils/tsconfig.json"
93- },
9491 {
9592 "path" : " ./packages/test-runner-puppeteer/tsconfig.json"
9693 },
You can’t perform that action at this time.
0 commit comments