mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 13:21:14 +08:00
Fix deepscan
This commit is contained in:
parent
9a6bc4ad73
commit
d2c0375a2f
@ -4,7 +4,7 @@ import { inferControls } from './inferControls';
|
||||
import { normalizeArgTypes } from './normalizeArgTypes';
|
||||
|
||||
export const enhanceArgTypes: ArgTypesEnhancer = (context) => {
|
||||
const { component, argTypes: userArgTypes = {}, docs = {}, args = {} } = context.parameters;
|
||||
const { component, argTypes: userArgTypes = {}, docs = {} } = context.parameters;
|
||||
const { extractArgTypes } = docs;
|
||||
|
||||
const normalizedArgTypes = normalizeArgTypes(userArgTypes);
|
||||
|
@ -1,5 +1,4 @@
|
||||
import mapValues from 'lodash/mapValues';
|
||||
import { Args, ArgTypes } from '@storybook/addons';
|
||||
import { ArgTypesEnhancer } from './types';
|
||||
import { combineParameters } from './parameters';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user