product
v0.0.5arrow_drop_downv0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
2,327
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
React Native product example
1 contributor
Like
Install product as a package?
Copied
npm i @bit/bit.react-native-store.product
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React Native
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
modifieddraft
chevron_left
chevron_right
Properties
Name | Type | Default value | Description |
---|---|---|---|
title | string | 'product title' | product title |
description | string | 'product description' | product description |
price | number | 100 | product price |
image | string | 'https://static.nike.com/a/images/f_auto/q_auto/t_PDP_864_v1/i1-9944e829-002c-4a6b-93ed-cc8801c7eb0c/air-vapormax-360-mens-shoe-b09bdB.jpg' | product image url |
addToCart | bool | () => Alert.alert('on press!') | addToCart will show a button inside the component |