9 lines
1.5 KiB
TypeScript
9 lines
1.5 KiB
TypeScript
import React from "react";
|
|
import { ScrollView } from "react-native";
|
|
import type { DetailRendererProps } from "../../types/renderer.types";
|
|
import { ContentLinkAttributeSections } from "../shared/ContentLinkAttributeSections";
|
|
import { asString } from "../helpers/value";
|
|
import { Hero } from "../shared/Hero";
|
|
import { DescriptionList, Images, ObjectArrayCards, ObjectArrayTable, ObjectCard, PointCodes, Strings } from "./categoryParts";
|
|
export function LuoConnectingDetailRenderer({content,data,definitions,presentationAttributes}:DetailRendererProps){ return <ScrollView contentContainerStyle={{paddingHorizontal:18,paddingTop:16,paddingBottom:40,gap:14}}><Hero title={asString(data.title)||asString(data.name)||content.title}/><Images data={data}/><PointCodes data={data}/><ObjectArrayCards title="Major Luo Point of the Spleen" value={data.major_luo_point_of_the_spleen}/><ObjectArrayCards title="Major Luo Point of the Stomach" value={data.major_luo_point_of_the_stomach}/><ObjectArrayTable title="Interior-Exterior Related Disorders" value={data.treating_disorders_of_their_interiorly_exteriorly_related_channel_or_zangfu}/><ObjectArrayTable title="Regional Disorders" value={data.treating_disorders_in_regions_reached_b_the_luo_connecting_channel}/><ObjectArrayTable title="Psycho-emotional Disorders" value={data.treating_psycho_emotional_disorders}/><ContentLinkAttributeSections data={data} definitions={definitions} presentationAttributes={presentationAttributes}/></ScrollView>; }
|