Skip to content
HomePagesHomePages template kit

FixtureModuleSpec

The fixture module a build callback returns: the section's base fixture, plus any named states.

The fixture module a build callback returns: the section’s base fixture, plus any named states.

Import from @homepages/template-kit/fixtures.

export type FixtureModuleSpec<S> = {
base: FixtureSpec<S>;
states?: Record<string, FixtureSpec<S>> | undefined;
};