UNPKG

bucket-duck

Version:

A redux module containing a reducer and actions for a bucket widget.

17 lines (16 loc) 393 B
export interface State<T> { hoveredItem: { index: number; isSelected: boolean; } | null; selectedItems: T[]; nonSelectedItems: T[]; allItems: T[]; titleAttr?: keyof T; subtitleAtrr?: keyof T; valueAttr?: keyof T; selectedChanged: boolean; } export declare type StatePartial<T> = { [K in keyof State<T>]?: State<T>[K]; };