UNPKG

@ua/react-native-airship

Version:
34 lines 916 B
import React from 'react'; import { ViewStyle } from 'react-native'; /** * Controls which pending embedded content instance is displayed when more * than one is available for the same embedded ID. */ export type AirshipEmbeddedViewSelection = { type: 'priority'; } | { type: 'instance_id'; instanceId: string; }; /** * AirshipEmbeddedView props */ export interface AirshipEmbeddedViewProp { style?: ViewStyle; /** * The embedded Id. */ embeddedId: string; /** * How to select which pending content to display when more than one is * available. Defaults to priority ordering. */ selection?: AirshipEmbeddedViewSelection; } /** * Airship Embedded view. */ export declare class AirshipEmbeddedView extends React.Component<AirshipEmbeddedViewProp> { render(): import("react/jsx-runtime").JSX.Element; } //# sourceMappingURL=AirshipEmbeddedView.d.ts.map