@prismicio/next
Version:
Helpers to integrate Prismic into Next.js apps
22 lines (21 loc) • 740 B
TypeScript
import { FC, ReactNode } from "react";
import { SliceSimulatorProps } from "@prismicio/simulator/kit";
//#region src/SliceSimulator.d.ts
/** Parameters provided to the Slice Simulator page. */
type SliceSimulatorParams = {
searchParams: Promise<{
state?: string;
}>;
};
type SliceSimulatorProps$1 = SliceSimulatorProps & {
children: ReactNode;
className?: string;
};
/**
* Simulate slices in isolation. The slice simulator enables live slice development in Slice Machine
* and live previews in the Page Builder.
*/
declare const SliceSimulator: FC<SliceSimulatorProps$1>;
//#endregion
export { SliceSimulator, SliceSimulatorParams, SliceSimulatorProps$1 as SliceSimulatorProps };
//# sourceMappingURL=SliceSimulator.d.ts.map