diff --git a/src/components/form/index.tsx b/src/components/form/index.tsx index 55c4b1bd..b8365b5a 100644 --- a/src/components/form/index.tsx +++ b/src/components/form/index.tsx @@ -46,6 +46,7 @@ import { GenericFunctionArgs, GenericType } from '../../common/GenericTypes'; import { setDocumentInteractionId, setDocumentsToUpload } from '../../reducer/feedbackImagesSlice'; import NudgeSuspiciousFeedbackBottomSheet from './NudgeSuspiciousFeedbackBottomSheet'; import { API_STATUS_CODE } from '../utlis/apiHelper'; +import NavigationHeader, { Icon } from '../../../RN-UI-LIB/src/components/NavigationHeader'; interface IWidget { route: { @@ -384,16 +385,8 @@ const Widget: React.FC = (props) => { return ( - - - - - + = (props) => { > Add feedback for {caseData?.customerInfo?.customerName || caseData?.customerName} - {isJourneyNameExists ? ( - {templateData?.journey?.[journey].name} - ) : null} - - + } + subTitle={ + isJourneyNameExists ? {templateData?.journey?.[journey].name} : null + } + icon={Icon.close} + onBack={handleCloseIconPress} + /> = ({ route: routeParams handlePageRouting={handleRouting} loanAccountNumber={loanAccountNumber} /> - -