Compare commits

..

No commits in common. "c793ea27c7a03b97f1766368bf62881efccfdaa7" and "08e954bba0710ea813a673bb6bd807484f53abaf" have entirely different histories.

1 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import { ScrollView } from "react-native";
import type { DetailRendererProps } from "../types/renderer.types";
import { humanizeKey } from "./helpers/value";
import { ContentLinkAttributeSections } from "./shared/ContentLinkAttributeSections";
import { ContentValue } from "./shared/ContentValue";
import { Hero } from "./shared/Hero";
import { ImageGallery } from "./shared/ImageGallery";
@ -22,6 +23,7 @@ export function GenericDetailRenderer({
moduleCode,
templateCode,
definitions,
presentationAttributes,
}: DetailRendererProps) {
const isTherapeutic = Boolean(
moduleCode?.toLowerCase().startsWith("m004") ||
@ -66,6 +68,11 @@ export function GenericDetailRenderer({
</SectionCard>
);
})}
<ContentLinkAttributeSections
data={data}
definitions={definitions}
presentationAttributes={presentationAttributes}
/>
</ScrollView>
);
}