@ovok/native/observation-detail

Observation detail screen components.

  • Stable unknown
  • Release candidate since 1.16.1-rc.3
  • Development since 1.16.1-dev.2111+9796905

Observation detail screen components.

Import from @ovok/native/observation-detail.

Components

ObservationDetail()

function ObservationDetail(__namedParameters): Element;

Scrollable detail view for an observation; compose it with the ObservationDetail.* sub-components.

Parameters

ParameterType
__namedParametersPropsWithChildren<ScrollViewProps>

Returns

Element

Type Aliases

ObservationDetailDateTimeProps

type ObservationDetailDateTimeProps = Omit<React.ComponentProps<typeof Text>, "children"> & (
  | {
  children?: React.ReactNode;
  dateTime: string;
  format?: string;
}
  | {
  children: React.ReactNode;
  dateTime?: undefined;
});

Props for ObservationDetail.DateTime: Text props plus either a dateTime to format or children to show.

Last updated on

On this page