/bucket-duck

Primary LanguageTypeScriptMIT LicenseMIT

bucket-duck

Based on this Modular Reducer Proposal

Actions

Action Name Intended usage
SELECT_ITEM An item is selected by its index
HOVER_SELECTED Hover a selected item by its index
HOVER_NON_SELECTED Hover a non-selected item by its index
DESELECT_ITEM A selected item is deselected by its index
HOVER_NEXT_ITEM Hover the next item in the list
HOVER_PREV_ITEM Hover the previous item in the list
CLEAR_HOVER Clears the currently hovered item
SELECT_ITEM Moves the currently hovered item to the opposite list
REORDER_ITEMS Reorder the selected items
RECEIVED_STATE Set the state externally from the consuming component