UNPKG

@luigiminardim/storybook-addon-globals-controls

Version:

@luigiminardim/storybook-addon-globals-controls gives you a graphical UI to dynamically interact with the Storybook's globals variables. It creates an addon panel next to your component examples ("stories"), so you can edit them live.

3 lines (2 loc) 216 B
import { StoryContext } from "@storybook/addons"; export declare const withGlobals: (decorated: (Story: any, values: Record<string, any>, context: StoryContext) => any) => (story: any, context: StoryContext) => any;