Co-authored-by: SANDEEP KUMAR <sandeep.ku@navi.com> Co-authored-by: Somarapu Vamshi <somarapu.vamshi@navi.com> Co-authored-by: Shivam Goyal <shivam.goyal@navi.com> Co-authored-by: vedant aggarwal <vedant.aggarwal@navi.com> Co-authored-by: Mehul Garg <mehul.garg@navi.com> Co-authored-by: Hardik Chaudhary <hardik.chaudhary@navi.com> Co-authored-by: Aditya Narayan Malik <aditya.narayan@navi.com> Co-authored-by: Shaurya Rehan <shaurya.rehan@navi.com> Co-authored-by: Divyesh Shinde <divyesh.shinde@navi.com> Co-authored-by: Mohit Rajput <mohit.rajput@navi.com> Co-authored-by: sharmapoojabalrambhai <sharma.balrambhai@navi.com> Co-authored-by: Prajjaval Verma <prajjaval.verma@navi.com>
22 lines
702 B
TypeScript
22 lines
702 B
TypeScript
import { CtaData } from "../..";
|
|
import { GenericActionPayload } from "../../../actions/GenericAction";
|
|
import { GenericWidgetData } from "../Widget";
|
|
import { ScreenData } from "../screenData/ScreenData";
|
|
import { ImageFieldData, TextFieldData } from "./TitleWidgetData";
|
|
|
|
export interface BenefitScreenHeaderData extends GenericWidgetData {
|
|
title?: TextFieldData;
|
|
subtitle?: TextFieldData;
|
|
button?: TextFieldData;
|
|
leftIcon?: ImageFieldData;
|
|
rightIcon?: ImageFieldData;
|
|
description?: ImageFieldData;
|
|
backgroundColor?: string;
|
|
}
|
|
|
|
export interface BenefitScreenProps {
|
|
ctaData: CtaData;
|
|
screenData: ScreenData | null;
|
|
handleActions: (screenPayload?: GenericActionPayload) => void;
|
|
}
|