UNPKG

storybook-addon-themes

Version:

A storybook addon to switch between different themes for your preview

10 lines (9 loc) 268 B
import { ComponentType } from 'react'; import { Theme } from './Theme'; export interface DecoratorProps { theme: Theme; themes: Theme[]; themeClasses: string; themeName: string; } export declare type Decorator = ComponentType<DecoratorProps>;