storybook-addon-data-theme-switcher
Version:
A Storybook addon to switch the data-theme attribute on the html element
10 lines (9 loc) • 358 B
TypeScript
import { ProjectAnnotations, Renderer } from "storybook/internal/types";
//#region src/preset/preview.d.ts
/**
* Note: if you want to use JSX in this file, rename it to `preview.tsx`
* and update the entry prop in tsup.config.ts to use "src/preview.tsx",
*/
declare const preview: ProjectAnnotations<Renderer>;
//#endregion
export { preview as default };