alepha
Version:
Easy-to-use modern TypeScript framework for building many kind of applications.
36 lines • 982 B
TypeScript
import { ReactNode } from "react";
//#region ../../src/react/intro/components/GettingStarted.d.ts
type GettingStartedStep = {
num: string;
text: ReactNode;
};
type GettingStartedSlide = {
text: string;
sub: string;
detail?: string;
steps?: GettingStartedStep[];
links?: {
label: string;
href: string;
}[];
};
type GettingStartedWelcome = {
appName: string;
serverTime: string;
};
type GettingStartedProps = {
/**
* Welcome data loaded from the server via SSR.
*
* When provided, displays app name and server timestamp on the first slide,
* demonstrating the full SSR → hydration data flow.
*/
welcome?: GettingStartedWelcome;
};
/**
* A welcome component displayed when creating a new Alepha application.
*/
declare const GettingStarted: ({ welcome }: GettingStartedProps) => import("react").JSX.Element;
//#endregion
export { GettingStarted, type GettingStartedSlide, type GettingStartedStep };
//# sourceMappingURL=index.d.ts.map