rs-cloud-webshop-wrapper
v0.0.3-poc.4
Published
RS Webshop integration PoC
Readme
Retail Solution integration component
This is a test only component
Installation
npm install rs-cloud-webshop-wrapper
Requirements
React native
react-native-web-viewUsage
Sample tsx
Webshop component can be used to open instance in default browser (button option) or using react-native-web-view to embed it in app
import { EmbeddedWebshop } from 'rs-cloud-webshop-wrapper';
<Text>Option1: browser Webshop</Text>
<EmbeddedWebshop
url={webshopUrl}
openUsingButton={true}
openWebshopButtonText="Open Webshop"
/>
<Text>Option2: embedded Webshop</Text>
<EmbeddedWebshop url={webshopUrl} />Version history
0.0.3-poc - initial 0.0.3-poc.1 - back navigation, better script injection, loading indicator
