generated from openmrs/openmrs-esm-template-app
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Halepo
committed
Aug 25, 2023
1 parent
7a8aaf0
commit 16e740e
Showing
5 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* eslint-disable prettier/prettier */ | ||
import { Tab, Tabs, TabList, TabPanels, TabPanel } from "@carbon/react"; | ||
import React from "react"; | ||
import styles from "../program-management/program-management.scss"; | ||
import ICTGeneral from "./tabs/ict-general.component"; | ||
import IndexContactFollowup from "./tabs/index-contact-followup.component"; | ||
|
||
const ICT: React.FC<{ patientUuid: string }> = ({ patientUuid }) => { | ||
return ( | ||
<div className={styles.tabContainer}> | ||
<Tabs> | ||
<TabList contained> | ||
<Tab>HEI Enrollment</Tab> | ||
<Tab>HEI Followup</Tab> | ||
</TabList> | ||
<TabPanels> | ||
<TabPanel> | ||
<ICTGeneral patientUuid={patientUuid} /> | ||
</TabPanel> | ||
<TabPanel> | ||
<IndexContactFollowup patientUuid={patientUuid} /> | ||
</TabPanel> | ||
</TabPanels> | ||
</Tabs> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ICT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* eslint-disable prettier/prettier */ | ||
import React from "react"; | ||
import { EmptyStateComingSoon } from "@ohri/openmrs-esm-ohri-commons-lib"; | ||
|
||
const ICTGeneral: React.FC<{ patientUuid: string }> = ({ patientUuid }) => { | ||
const pageTitle = "ICT Summary"; | ||
|
||
return ( | ||
<EmptyStateComingSoon displayText={pageTitle} headerTitle={pageTitle} /> | ||
); | ||
}; | ||
|
||
export default ICTGeneral; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* eslint-disable prettier/prettier */ | ||
import React from "react"; | ||
import { EmptyStateComingSoon } from "@ohri/openmrs-esm-ohri-commons-lib"; | ||
|
||
const IndexContactFollowup: React.FC<{ patientUuid: string }> = ({ patientUuid }) => { | ||
const pageTitle = "ICT Summary"; | ||
|
||
return ( | ||
<EmptyStateComingSoon displayText={pageTitle} headerTitle={pageTitle} /> | ||
); | ||
}; | ||
|
||
export default IndexContactFollowup; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters