storybook-addon-valkyrie-theme/dist/preview.d.ts

21 lines
713 B
TypeScript
Raw Permalink Normal View History

2024-10-18 10:01:44 +00:00
import { ProjectAnnotations, Renderer } from '@storybook/types';
/**
* A decorator is a way to wrap a story in extra rendering functionality. Many addons define decorators
* in order to augment stories:
* - with extra rendering
* - gather details about how a story is rendered
*
* When writing stories, decorators are typically used to wrap stories with extra markup or context mocking.
*
* https://storybook.js.org/docs/react/writing-stories/decorators
*/
/**
* 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>;
export { preview as default };