rs-cloud-webshop-wrapper
TypeScript icon, indicating that this package has built-in type declarations

0.0.3-poc.4 • Public • Published

Retail Solution integration component

This is a test only component


Installation

npm install rs-cloud-webshop-wrapper

Requirements

React native
react-native-web-view

Usage

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

Readme

Keywords

none

Package Sidebar

Install

npm i rs-cloud-webshop-wrapper

Weekly Downloads

1

Version

0.0.3-poc.4

License

ISC

Unpacked Size

19.3 kB

Total Files

27

Last publish

Collaborators

  • retailsolution