@storybook/preact
Version:
Storybook Preact renderer: Develop, document, and test UI components in isolation
11 lines (8 loc) • 405 B
TypeScript
import { PresetProperty } from 'storybook/internal/types';
declare const previewAnnotations: PresetProperty<'previewAnnotations'>;
/**
* Alias react and react-dom to preact/compat similar to the preact vite preset
* https://github.com/preactjs/preset-vite/blob/main/src/index.ts#L238-L239
*/
declare const resolvedReact: (existing: any) => Promise<any>;
export { previewAnnotations, resolvedReact };