product

v0.0.5arrow_drop_down
v0.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
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
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right
Properties
NameTypeDefault valueDescription
title
string'product title'

product title

description
string'product description'

product description

price
number100

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

Help and resources