extensell-private-pack-script
v1.6.2
Published
**WidgetMini Component** ``` import {WidgetMini} from 'extensell-private-pack-script'; ```
Downloads
457
Readme
Welcome to Pack Script Components.
WidgetMini Component
import {WidgetMini} from 'extensell-private-pack-script';
- Props:
- offerTitle: STRING
- product: PRODUCT_OBJECT
- customPrimary: COLOR
- customSecondary: COLOR
- customTertiary: COLOR
- customNeutral: COLOR
- offerCount: NUMBER
- showCountDown: BOOLEAN
- endDate: DATE
- removeBranding: BOOLEAN
- totalCount: NUMBER
- variantSelectConfig
- options:
- title: STRING
- id: STRING/NUMBER
- selectedId: STRING/NUMBER
- handleSelect: VOID
(id, label)
- hidePrice: BOOLEAN
- options:
- handleCta: VOID
- error:
- errorMessageShow: BOOLEAN
- errorMessageText: STRING
- errorMessageDesc: STRING
- addingToCartLoading: BOOLEAN
- isLeft: BOOLEAN (default: false)
WidgetMiniPro Component
import {WidgetMiniPro} from 'extensell-private-pack-script';
- Props:
- offerTitle: STRING
- productX: PRODUCT_OBJECT
- productY: PRODUCT_OBJECT
- allProductsCount: NUMBER
- showCountDown: BOOLEAN
- customPrimary: COLOR
- customSecondary: COLOR
- customNeutral: COLOR
- customTertiary: COLOR
- endDate: DATE
- removeBranding: BOOLEAN
- handleCta: VOID
- variantSelectConfig
- selectedId: STRING/NUMBER
- selectedIdY: STRING/NUMBER
- handleSelect: VOID
(id, label)
- handleSelectY: VOID
(id, label)
- selectedImage: STRING
- selectedImageY: STRING
- hidePrice: BOOLEAN
- error:
- errorMessageShow: BOOLEAN
- errorMessageText: STRING
- errorMessageDesc: STRING
- addingToCartLoading: BOOLEAN
- isLeft: BOOLEAN (default: false)