@ua/react-native-airship
Version:
Airship plugin for React Native apps.
36 lines (32 loc) • 780 B
JavaScript
/* Copyright Airship and Contributors */
;
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