product-selector
v1.0.2arrow_drop_downv1.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
Like
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
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
modifieddraft
chevron_left
chevron_right
ProductSelector ()
ProductSelector component
Properties
Name | Type | Default value |
---|---|---|
title | string | 'Product Selector' |
inputs | {"url":"string","title":"string","subtitle":"string","excerpt":"string","image":"string"}[] | [] |
onChange | function | null |
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 |