Files
super-app/App/common/interface/BaseScreenProps.ts

18 lines
423 B
TypeScript
Raw Normal View History

import { CtaData } from ".";
import { GenericActionPayload } from "../actions/GenericAction";
import { ScreenData } from "./widgets/screenData/ScreenData";
export interface BaseScreenProps {
route?: RouteParams;
navigation?: any;
ctaData: CtaData;
screenData: ScreenData | null;
handleActions: (screenPayload?: GenericActionPayload) => void;
}
interface RouteParams {
params?: {
ctaData?: CtaData;
};
}