Repository URL to install this package:
|
Version:
2.1.0 ▾
|
import { ProductDetailsProps as ProductDetailsPlaceholderProps } from 'abstractions/Subscription';
import { ItemProps } from '@skava/ui/dist/components/molecules/List';
import { SwatchListType } from 'presets/SwatchList';
export interface ListProps {
label?: string;
value?: string;
isSelected?: string;
}
export declare type ListPropsType = Array<ListProps>;
export interface EventArgs {
event?: Event;
}
export interface HandlerArgs extends Function {
(changeArgs?: EventArgs): void;
}
export interface ItemDetailsProps {
name?: string;
skuId?: string;
details?: Array<ItemProps>;
regPrice?: string;
quantity?: number;
dropdownList?: ListPropsType;
radioButtonList?: ListPropsType;
productOptionsList?: SwatchListType;
}
export interface ProductDetailsProps extends ProductDetailsPlaceholderProps {
item?: ItemDetailsProps;
onQuantityInputChange?: HandlerArgs;
}