mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-19 05:02:40 +08:00
Fix usage of react-inspector
This commit is contained in:
parent
4a9bd4460b
commit
e45aaa6825
@ -2,7 +2,7 @@ import React, { FC, Fragment } from 'react';
|
||||
import { styled, withTheme } from '@storybook/theming';
|
||||
import type { Theme } from '@storybook/theming';
|
||||
|
||||
import Inspector from 'react-inspector';
|
||||
import { Inspector } from 'react-inspector';
|
||||
import { ActionBar, ScrollArea } from '@storybook/components';
|
||||
|
||||
import { Action, InspectorContainer, Counter } from './style';
|
||||
@ -27,7 +27,7 @@ interface InspectorProps {
|
||||
}
|
||||
|
||||
const ThemedInspector = withTheme(({ theme, ...props }: InspectorProps) => (
|
||||
<Inspector theme={theme.addonActionsTheme || 'chromeLight'} {...props} />
|
||||
<Inspector theme={theme.addonActionsTheme || 'chromeLight'} table={false} {...props} />
|
||||
));
|
||||
|
||||
interface ActionLoggerProps {
|
||||
|
1
code/addons/actions/src/typings.d.ts
vendored
1
code/addons/actions/src/typings.d.ts
vendored
@ -1,4 +1,3 @@
|
||||
// TODO: following packages need definition files or a TS migration
|
||||
declare module 'global';
|
||||
declare module 'react-inspector';
|
||||
declare module 'uuid-browser/v4';
|
||||
|
Loading…
x
Reference in New Issue
Block a user