ObservationDetail.TextData
A text content component with consistent padding and typography for displaying narrative healthcare information. Designed for clinical notes, descriptions, and unstructured observation data.
- Stable unknown
- Release candidate since 1.16.1-rc.3
- Development since 1.16.1-dev.2111+9796905
A text content component with consistent padding and typography for displaying narrative healthcare information. Designed for clinical notes, descriptions, and unstructured observation data.
Basic Example
import { ObservationDetail } from "@ovok/native";
import * as React from "react";
const note = {
content:
"Patient reports mild discomfort in left shoulder. Range of motion appears normal. No visible swelling or inflammation.",
};
const ClinicalNote = () => (
<ObservationDetail.TextData>{note.content}</ObservationDetail.TextData>
);
export default ClinicalNote;
Props
Every prop, with its type and description, is listed in the @ovok/native/observation-detail API reference.
Component Behavior
Text Formatting
- Applies consistent padding for readability
- Uses standard 16px font size for medical content
- Maintains proper line height for healthcare text
- Supports theme-based typography
Content Support
- Handles long-form text content
- Supports rich text through children
- Maintains consistent spacing with other components
Styling
Theme Colors Used
theme.spacing(4)- Text padding (16px default)
Last updated on
ObservationDetail.SingleCardDataRow
A label-value data row component designed for structured display of healthcare information. Provides consistent spacing, typography, and layout for observation data presentation.
optimized-image
OptimizedImage is a layout and retry wrapper around expo-image. It reads the