rn-tnb-fk-watch
v1.1.1
Published
Tnb solution for watch
Downloads
6
Readme
rn-tnb-fk-watch
Watch try-on plugin by Tryndbuy. Supports Android & iOS integration.
Installation
Install:
Import it in your JS:
import {Main} from 'rn-tnb-fk-watch';
How it works
<Main
uuid={"<unique user id>"};
deviceid={"<device id>"};
modelName={"analog1"}
closeTryon={()=> {
// close tryon
// setShowCameraFlag(false)}
}}
description={"Selloria-1 Analog 3 hands with chain strap"}
price={"260.50"}
DiscountedPrice={"233.10"}
offerText={"Offer valid in stores only"}
/>
Parameters
Below are the list of different parameters to be sent while implementing HomeScreen component:
| Key | Data type | Default value? | Description |
|-----|-----------|----------------|-------------|
| uuid
| string
| Required. | Unique user id. |
| deviceid
| string
| Required. | Device id. |
| modelName
| string
| Required. | Unique id of watch. |
| closeTryon
| method
| Implement callback when user click on close/back button |
| description
| string
| | Description of watch. |
| price
| string
| | Watch price. |
| DiscountedPrice
| string
| | Watch discounted price. |
| offerText
| string
| | Offer text to be displayed. |
Implementation Samples
closeTryon = () => {
// console.log('closeTryon')
}