Repository URL to install this package:
Version:
0.9.6 ▾
|
ui-component-library
/
src
/
components
/
abstractions
/
BundleProduct
/
CheckoutCartBundle
/
typings.ts
|
---|
import { ReactNode } from 'react'
import {
AnimatedCardProps,
AnimatedCardState,
} from 'presets/AnimatedExpandableCard'
export interface CheckoutCartBundleRenderProp extends Function {
(props?: CheckoutCartBundleProps, state?: AnimatedCardState): ReactNode
}
export interface ListProps {}
export type ListPropType = Array<ListProps>
export interface CheckoutCartBundleProps extends AnimatedCardProps {
className?: string
item?: Object | any
index?: number
mandatoryProducts?: ListPropType
addonProducts?: ListPropType
productCount?: number
// renderProps
renderHeader?: CheckoutCartBundleRenderProp
renderList?: CheckoutCartBundleRenderProp
renderItem?: CheckoutCartBundleRenderProp
}
export interface CheckoutCartBundleState extends AnimatedCardState {}
export default CheckoutCartBundleProps