UNPKG

@compositive/storybook

Version:

Storybook framework with useful defaults and integration with Compositive.

40 lines (39 loc) 1.07 kB
import { DocsContextProps } from "@storybook/addon-docs"; import { ReactElement, ReactNode } from "react"; declare const globalTypes: { theme: { name: string; defaultValue: { name: string; }; compositive: { themes: { [x: string]: { variants: import("@compositive/foundation").Theme.VariantOptions<Readonly<Record<string, string>>>; }; }; }; }; }; declare const decorators: ((StoryFn: () => JSX.Element, context: import("@storybook/react").StoryContext) => JSX.Element)[]; declare const parameters: { layout: string; controls: { expanded: boolean; }; actions: { argTypesRegex: string; }; previewTabs: { "storybook/docs/panel": { index: number; }; }; docs: { container: ({ context, children, }: { context: DocsContextProps; children: ReactNode; }) => ReactElement; }; }; export { globalTypes, decorators, parameters };