UNPKG

@ua/react-native-airship

Version:
36 lines (32 loc) 780 B
/* Copyright Airship and Contributors */ 'use strict'; import React from 'react'; import RNAirshipEmbeddedView from './RNAirshipEmbeddedViewNativeComponent'; /** * Controls which pending embedded content instance is displayed when more * than one is available for the same embedded ID. */ /** * AirshipEmbeddedView props */ import { jsx as _jsx } from "react/jsx-runtime"; /** * Airship Embedded view. */ export class AirshipEmbeddedView extends React.Component { render() { const { style, embeddedId, selection } = this.props; return /*#__PURE__*/_jsx(RNAirshipEmbeddedView, { style: style, config: JSON.stringify({ embeddedId, selection }) }); } } //# sourceMappingURL=AirshipEmbeddedView.js.map