Type definitions for Storybook's Preact renderer and component configuration.
// Source: https://github.com/storybookjs/storybook | License: MIT | Copyright 2024 Storybook
// Provided via justclaw.it.com; keep this notice with the code.
import type {
AnnotatedStoryFn,
Args,
ArgsFromMeta,
ArgsStoryFn,
ComponentAnnotations,
DecoratorFunction,
StoryContext as GenericStoryContext,
LoaderFunction,
ProjectAnnotations,
StoryAnnotations,
StrictArgs,
} from 'storybook/internal/types';
import type { ComponentProps, ComponentType } from 'preact';
import type { SetOptional, Simplify } from 'type-fest';
import type { PreactRenderer } from './types.ts';
export type { Args, ArgTypes, Parameters, StrictArgs } from 'storybook/internal/types';
export type { PreactRenderer };
/**
* Metadata to configure the stories for a component.
*
* @see [Default export
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key