diff --git a/health/micro-ui/web/micro-ui-internals/example/public/index.html b/health/micro-ui/web/micro-ui-internals/example/public/index.html index 00b56c7c2fa..987bf72620b 100644 --- a/health/micro-ui/web/micro-ui-internals/example/public/index.html +++ b/health/micro-ui/web/micro-ui-internals/example/public/index.html @@ -18,7 +18,7 @@ - + diff --git a/health/micro-ui/web/micro-ui-internals/packages/css/package.json b/health/micro-ui/web/micro-ui-internals/packages/css/package.json index d181c7f1dd2..1b510c01afb 100644 --- a/health/micro-ui/web/micro-ui-internals/packages/css/package.json +++ b/health/micro-ui/web/micro-ui-internals/packages/css/package.json @@ -1,6 +1,6 @@ { "name": "@egovernments/digit-ui-css", - "version": "1.0.84-campaign", + "version": "1.0.85-campaign", "license": "MIT", "main": "dist/index.css", "author": "Jagankumar ", diff --git a/health/micro-ui/web/micro-ui-internals/packages/css/src/components/microplan.scss b/health/micro-ui/web/micro-ui-internals/packages/css/src/components/microplan.scss index 79e39271dff..d2162145adb 100644 --- a/health/micro-ui/web/micro-ui-internals/packages/css/src/components/microplan.scss +++ b/health/micro-ui/web/micro-ui-internals/packages/css/src/components/microplan.scss @@ -159,5 +159,11 @@ left: 36rem; } +.mc_back{ + display:flex; + justify-content: right; + align-items: center; +} + \ No newline at end of file diff --git a/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/Response.js b/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/Response.js new file mode 100644 index 00000000000..bf67e3e7d5b --- /dev/null +++ b/health/micro-ui/web/micro-ui-internals/packages/modules/microplan/src/components/Response.js @@ -0,0 +1,63 @@ +import React, { useState, Fragment } from "react"; +import { Link, useHistory, useLocation } from "react-router-dom"; +import { useTranslation } from "react-i18next"; +import { ActionBar, SubmitBar, Button,ArrowLeft, ArrowForward } from "@egovernments/digit-ui-react-components"; +import { PanelCard } from "@egovernments/digit-ui-components"; +const Response = () => { + + const { t } = useTranslation(); + const history = useHistory(); + const queryStrings = Digit.Hooks.useQueryParams(); + const [campaignId, setCampaignId] = useState(queryStrings?.campaignId); + const [isResponseSuccess, setIsResponseSuccess] = useState( + queryStrings?.isSuccess === "true" ? true : queryStrings?.isSuccess === "false" ? false : true + ); + const { state } = useLocation(); + return ( + <> + + // ]} + footerStyles={{}} + iconFill="" + info="" + maxFooterButtonsAllowed={5} + message={state?.message} + multipleResponses={[]} + props={{}} + response={state?.fileName} + sortFooterButtons + style={{}} + type="success" + > + + + + +