product-selector

v1.0.2arrow_drop_down
v1.0.2
v1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
240
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
6 years ago
SIZE
5 KB
ProductSelector component
1 contributor
Install product-selector as a package?
Copied
npm i @bit/dennisdigital.components.molecules.product-selector
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
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
ProductSelector ()

ProductSelector component

Properties
NameTypeDefault value
title
string'Product Selector'
inputs
{"url":"string","title":"string","subtitle":"string","excerpt":"string","image":"string"}[][]
onChange
functionnull
extraClassNames
objectOf{ }
context
{}{ }
Test Summary

should render without any props

Pass

check title props

Pass

check empty title props

Pass

should match the number of input in the inputs array

Pass

check onChange props

Pass

check extraClassNames props

Pass
Help and resources